Skip to content

Context Menu Text Highlighting Doesn't Update with Theme Change #1739

Open
@Zakariathr22

Description

@Zakariathr22

Description

When changing the app theme from Light to Dark (or vice versa), the text highlighting in the context menu does not update correctly. It appears that the context menu text uses static resources, causing it to retain the previous theme's colors until the app is restarted.

Steps to Reproduce

  1. Clone the repository.
  2. Switch to and run the main branch.
  3. Go to Settings and change the theme (e.g., from Light to Dark or Dark to Light).
  4. Navigate to any component where you can write or select text (e.g., RichTextBox).
  5. Right-click to open the context menu and observe the text highlighting.

Expected Behavior

The text in the context menu should correctly update to match the selected theme.

Actual Behavior

The context menu text appears to use static resources, preventing it from updating dynamically when the theme changes.

Screenshots

Image

Additional Context

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingexternal-bugThis bug requires a fix outside of the Gallery

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions