Skip to content

Changing theme while application is running doesn't change some parameters on some widgets #4344

Closed
@pztrn

Description

Checklist

  • I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
  • This issue only relates to a single bug. I will open new issues for any other problems.

Describe the bug

When changing theme from dark to light (or vice versa) some widgets like buttons doesn't change it's theme. E.g buttons doesn't change background until mouseover, never changes font color.

How to reproduce

  1. Create a window with tabs and buttons placed in tabs. Open that app.
  2. Open fyne_settings, change theme from dark to light (or vise versa).
  3. Switch back to running application, change active tab. Some buttons doesn't change it's background and almost no buttons changed font color.

Screenshots

image

Example code

I'll add code later if neccessary. Just create a window, put tabs in it, but some buttons in tabs containers.

Fyne version

2.3.5, 2.4.1

Go compiler version

1.21.3

Operating system and version

Arch Linux latest @ 20231026

Additional Information

No response

Activity

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

Metadata

Assignees

No one assigned

    Labels

    unverifiedA bug that has been reported but not verified

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions