Skip to content

[ToDo][Settings Flyout] Wrong Value Checked by Default for Current Theme When Opening Settings Flyout #780

@agneszitte

Description

@agneszitte

Current behavior

When opening the settings flyout, the wrong value is checked by default for the current theme. The displayed theme mode does not reflect the actual current theme of the app.

image
image

Expected behavior

The settings flyout should correctly display the current theme mode by having the appropriate current theme option (Light or Dark) checked by default.

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

  • Open the application in Wide Layout.
  • Click on the "Get Started" button on the Welcome Page.
  • Click on the user name button in the top left corner of the app at the top of the menu to open the settings flyout.
  • Observe that the wrong value is checked by default for the current theme.
  • The displayed theme mode (Light or Dark) does not match the actual theme applied to the app.

Environment

Nuget Package:

  • Uno.Sdk: 5.2.161
  • UnoExtensionsVersion: 4.1.28
  • UnoToolkitVersion: 6.0.24
  • UnoThemesVersion: 5.0.13

Affected platform(s):

  • All (Seeing it less frequently on Windows than on other platforms, but it can also happen on Windows with the current logic in place).

Additional information

Possible related issue: #778

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions