You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The GTK implementation of Display.isSystemDarkTheme() is returning a boolean initialized once, when the Display is set up. If the theme is changed when the app is running, the value returned by isSystemDarkTheme() is stale and should be updated.
To Reproduce
Start a SWT app; check Display.isSystemDarkTheme(), which should match the current system theme; change the theme; check Display.isSystemDarkTheme(): nothing has changed.
Expected behavior
The GTK implementation of isSystemDarkTheme() should reflect changes in theme selection, as is the case on Windows.
Environment:
Select the platform(s) on which the behavior is seen:
Windows (OK on Windows)
Linux
macOS (unverified on macOS)
Additional OS info (e.g. OS version, Linux Desktop, etc)
Tested on an up-to-date Ubuntu.
JRE/JDK version
JDK 17.
Version since
Tested with Eclipse 4.34 (December 2024).
The text was updated successfully, but these errors were encountered:
Describe the bug
The GTK implementation of
Display.isSystemDarkTheme()
is returning a boolean initialized once, when the Display is set up. If the theme is changed when the app is running, the value returned by isSystemDarkTheme() is stale and should be updated.To Reproduce
Start a SWT app; check Display.isSystemDarkTheme(), which should match the current system theme; change the theme; check Display.isSystemDarkTheme(): nothing has changed.
Expected behavior
The GTK implementation of isSystemDarkTheme() should reflect changes in theme selection, as is the case on Windows.
Environment:
Additional OS info (e.g. OS version, Linux Desktop, etc)
Tested on an up-to-date Ubuntu.
JRE/JDK version
JDK 17.
Version since
Tested with Eclipse 4.34 (December 2024).
The text was updated successfully, but these errors were encountered: