RFR: 8365313: GTK LaF does not respect system color scheme with Gnome

Alexander Zvegintsev azvegint at openjdk.org
Thu Jan 29 14:58:00 UTC 2026


On Thu, 29 Jan 2026 00:24:01 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> maybe we should provide a way to set this by the application? similar to how we did on macOS?

In another fix - maybe.

Currently, setting the `gtk-application-prefer-dark-theme` is not enough to override the theme on Ubuntu 25.04 with Gnome 48, it still uses the system theme.
This differs from Fedora 42 with Gnome 48, where it is sufficient.

More research is required, but not in this PR.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/29469#issuecomment-3818208261


More information about the client-libs-dev mailing list