question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Default TextBlock Foreground Dark themes does not display correctly in ISingleViewApplicationLifetime environment

See original GitHub issue

Describe the bug Dark themes does not display correctly in framebuffer environment. The foreground color of the font is black instead of white

To Reproduce Steps to reproduce the behavior:

  1. Run ControlCatalog.NetCore in framebuffer environment --fbdev
  2. Swithc any Dark theme
  3. See error

Expected behavior The foreground color of the font is white like X* Environment

Screenshots

Framebuffer Environment

immagine

X Environment

immagine

Desktop (please complete the following information):

  • OS: Linux Ubuntu 22.04.1
  • Version 84791dbf2e772cad889d575ef64000b5ba3d637a

Additional context Add any other context about the problem here.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
workgroupengineeringcommented, Sep 30, 2022

Even if I set Fluent Dark as the initial theme, it is not displayed correctly.

Also keep in mind that switching from Simple to Fluent theme or vise-versa isn’t supported and not guaranteed.

That’s not the case. I need to switch between light and dark and vice versa.

The use case is to switch the color of the theme based on the ambient light coming from a sensor, to always guarantee excellent visibility.

Same binary, executed without the --fbdev flag, displays correctly.

1reaction
maxkatz6commented, Sep 30, 2022

Yes, I just was clarifying that it was light<->dark change and not fluent-light<->default-dark

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot override controls foreground colour in wpf
However this renders a button and the foreground text colour is black. Its effectively ignoring the Foreground setter property. The only way to ......
Read more >
TextBlock.Foreground Property (Windows.UI.Xaml.Controls)
The default appearance of text and text styles depends heavily on the active theme and other settings. The theme and various styles and...
Read more >
TextBlock Foreground property not set properly in ...
It seems that for the MetroDark theme the Foreground property of the TextBlock is set to black and thus doesn't show up on...
Read more >
TextBlock.Foreground Property (System.Windows.Controls)
The default is Black. Examples. The following example shows how to set the Foreground attribute of a TextBlock element. XAML
Read more >
Editing MainMenu TextBlock Text Foreground color.
I am trying to change the foreground color of the main menu, Which is a text block inside bar item layout panel. Can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found