-
Notifications
You must be signed in to change notification settings - Fork 21
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
Adwaita theme call is non-standard #52
Comments
It's intended to use adw-gtk3 on COSMIC. It's not the Adwaita theme. |
Sorry, this is just wrong since |
As above, it is used by COSMIC for GTK3 theme support. GTK3 applications will inherit the chosen COSMIC color scheme. |
I'm not following you. I decided to install 1.mp4I'm not showing in the video, but if I run So it seems we have 2 problems here:
|
As mentioned previously on the other issue, cosmic-settings-daemon will only use adw-gtk3 if global GTK theme support is enabled in the experimental settings context drawer on the appearance settings page. This matches the COSMIC color scheme to all GTK3, GTK4, and libadwaita applications. |
OK, enabling this make it work: But very often it takes a long time (30 seconds or so) for the theme to be updated in GTK3 applications after I switch the appearance from dark to light and vice-versa, and even restarting the GTK3 application. The COSMIC apps change instantly though. Also, cosmic-session is constantly crashing in VirtualBox 7.1.2 (the reason why recording a video is almost impossible): simplescreenrecorder-2024-10-01_14.55.00.mp4In my real machine changing the display scale usually freezes the machine with no way to get back unless powering off/on I know it's still in alpha, but my suggestion is to give priority to crashes. Also, documenting the requirements, like this non-official obscure Thanks! |
If you are using a virtual machine, you must enable OpenGL hardware acceleration. Then you won't have crashes anymore. |
Try a different graphics controller. Some will require that you install virtualbox guest additions in the VM. |
As discussed here,
cosmic-settings-daemon
is assuming GTK3 default theme isadw-gtk3
/adw-gtk3-dark
, which is not the official theme name, as we can see in their repo: https://gitlab.gnome.org/Archive/gnome-themes-extra/-/blob/master/themes/Adwaita-dark/index.theme.in?ref_type=heads#L6So my suggestion is to change the following method to include the official Adwaita name (maybe checking for both official and
adw-gtk3
):cosmic-settings-daemon/src/theme.rs
Line 531 in 2f17f33
The text was updated successfully, but these errors were encountered: