Panel Corner Output[BUG]
See original GitHub issueHello! Thanks for putting together such a great library. I am not sure whether this is a feature or a bug but the Panel
feature provides different outputs on windows and max/linux for the corners. On mac/linux we see \u256d
(╭) being used, while windows uses \u250c
(┌). This has little impact on the UX, however; it makes testing for changes in output and stored output complicated. We tried adjusting our console with safe_box=True and legacy_windows=True, however; this does not resolve the issue.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Inconsistant display/click targets for Dash and Panel when using ...
This is a bug that has been appearing intermittently for months now. ... Causing the flyouts to appear instead of, say, the close...
Read more >Minimised Error LIst and Output Window
Every time I launch VS2017 Pro, my Output window and Error List window are minimised down to the bottom left hand corner of...
Read more >SOLVED: Need IPS Monitor backlight bleed fix - Display - iFixit
On 100% Brightness see the distracting yellow bleed on the lower left hand corner. Block Image. As you can see on 0% Brightness...
Read more >Conditional Panel + Plot Resizing Bug · Issue #426 · rstudio/shiny ...
When the sidebarPanel has a conditionalPanel and the mainPanel has a plot, the width of the plot can be altered on update. We...
Read more >20.04 - How do I stop the MySQL Workbench output area and ...
I have a stop-gap solution for this. The first things to check are the panel icons and the visibility settings under View ->...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I usually advise folk not to explicitly test output due to issues like these. Rich will adapt the output so that it renders appropriately on the given platform. Additionally, I don’t guarantee that the output will be byte for byte identical across minor versions, only that the output will look correct to the user.
Generally it is better to check the things being printed. For instance, test that the Panel has the expect attributes prior to printing.
The issue you are seeing with panels is because those round corners don’t always render properly on legacy windows, it depends on the user’s font choice and Rich has no way of knowing what the terminal can render.
If it can’t be avoided, there are a few arguments you should consider setting on the Console:
If you want to be more explicit about testing the output on Windows, I’m afraid your tests will have to take in to account platform differences.
@colin99d I’m just a regular user, and not associated with Rich, but are you using the new Windows terminal? I see a rounded corner when using the new Windows Terminal app, and a square corner when using the old Command Prompt “app”.