Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support freedesktop dark style preference #505

Open
idoric opened this issue Dec 7, 2023 · 0 comments
Open

Support freedesktop dark style preference #505

idoric opened this issue Dec 7, 2023 · 0 comments

Comments

@idoric
Copy link

idoric commented Dec 7, 2023

I don't know how qalculate-gtk is supposed to behave, so I don't know if I'm writing a bug report or an improvement proposal.

Qalculate-gtk doesn't follow the freedesktop dark style preference, neither during operation nor at startup, although the "Theme" option is set to "Default". Concretely, to take my example, under GNOME, when my system switches to dark style automatically for the night, qalculate-gtk remains in light style.

GTK3 + libhandy, GTK4 + libadwaita or a recent version of Qt manage directly the freedesktop dark style preference, but it's possible to manually access the settings portal and fetch the preference via DBus: https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.Settings.html.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant