Skip to content

[Skia] the input foreground of NumberBox or ComboBox is black at dark theme #24021

Closed

Description

@SongOfYouth

Current behavior 🐛

Image Image Image

Expected behavior 🎯

No response

How to reproduce it (as minimally and precisely as possible) 🔬

<StackPanel HorizontalAlignment="Center"
            VerticalAlignment="Center"
            Spacing="12">
    <TextBlock HorizontalAlignment="Center"
               Text="Hello Uno Platform!"
               AutomationProperties.AutomationId="HelloTextBlock" />
    <TextBox Width="100"
             Header="TextBox" />
    <NumberBox Width="100"
               Header="NumberBox" />
    <ComboBox Width="100"
              IsEditable="True"
              Header="ComboBox" />
</StackPanel>

Workaround 🛠️

No response

Renderer 🎨

  • Skia
  • Native

Affected platforms 📱💻🖥️

All platforms 🌍

Uno.Sdk version (and other relevant versions) 📦

6.6.42

IDE version 🧑‍💻

No response

Anything else we need to know? 💬

No response

Activity

  1. added
    triage/untriaged
    on Aug 10, 2026
  2. added theissue type on Aug 10, 2026
  3. self-assigned this
    on Aug 10, 2026
  4. Jen-Uno commented on Sep 30, 2026

    @Jen-Uno
    Contributor

    QA: closing out without a manual pass. The fix in #24091 ships with automated tests (Given_ElementTheme.cs) that exercise the change.

    If you still see this behaviour on a build that includes that PR, please reopen or comment here.

  5. SongOfYouth commented on Oct 8, 2026

    @SongOfYouth
    Author

    The problem still persists at uno 6.7.30 @Jen-Uno @morning4coffe-dev

  6. butti71 commented on Oct 12, 2026

    @butti71

    Thanks for the fix and the follow-up commit. I can also reproduce the issue with Uno.Sdk 6.7.30.

    Environment:

    Uno.Sdk: 6.7.30
    Renderer: Skia
    Platform: Linux desktop
    Target framework: net10.0-desktop

    Steps to reproduce:

    • Run the app in the dark theme.
    • Focus the NumberBox and enter a value.
    • Press End so the caret is at the end and no text is selected.
    Image

    Could you confirm whether this scenario is expected to be fixed in Uno.Sdk 6.7.30, and advise if you need any additional diagnostics?

  7. SongOfYouth commented on Nov 10, 2026

    @SongOfYouth
    Author

    ComboBox with IsEditable="True" :
    Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

triage/untriaged

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions