Skip to content

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

Open

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

Activity

  1. agneszitte commented on Jul 9, 2024

    @agneszitte
    MemberAuthor

    From #778

    @rajamatt / @kazo0 The current logic will need to be reviewed:

    ItemChecked="ThemeChipGroup_ItemChecked"

    // Workaround for https://github.com/unoplatform/uno/issues/15287

    Same here

  2. self-assigned this
    on Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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