[Bug 1227479] New: gnome-clocks timers crashes if GTK_THEME variable is not empty
https://bugzilla.suse.com/show_bug.cgi?id=1227479 Bug ID: 1227479 Summary: gnome-clocks timers crashes if GTK_THEME variable is not empty Classification: openSUSE Product: openSUSE Tumbleweed Version: Slowroll Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: GNOME Assignee: gnome-bugs@suse.de Reporter: hol.jimis@gmail.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- On opensuse tubleweed I use Xorg and Awesome WM. Gnome is installed but I rarely use its session. On https://bugzilla.suse.com/show_bug.cgi?id=1210065 is reported why I removed xdg-desktop-portal-gnome from my system. I like dark theme but the three, most used by me, gnome packages as nautilus, gnome-calculator and gnome-clocks, perhaps evolution mail too, refused to apply dark mode even if it was set by tweaks, gconf or other means. The only way, to have dark mode in these, was to first log in gnome session, log out and finally log in awesome wm. Some unknown variable, set in gnome session, manage to pass in awesome wm session and the above three packages run in dark mode. On logging directly in Awesome wm, dark mode was impossible for these three apps. Either log in directly on awesomeWM, where dark mode does not apply, or log in AwesomeWM after log in and out of gnome-session, where dark mode applies, the variable GTK_THEME is empty. BUT upon entering a line of export GTK_THEME="Adwaita:dark"; in ~/.profile or ~/.zprofile for zsh, dark mode is applied always in these three apps. However, the setting of GTK_THEME variable cause the crash of the two timers, that gnome-clocks include, upon clicking on start timer icon. I removed the above offensive line from .profile file to have working timers in light mode and I hope that this bug? could be fixed and gnome-clocks will work in dark mode as gnome-calculator does. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1227479 https://bugzilla.suse.com/show_bug.cgi?id=1227479#c4 Jimis Hol <hol.jimis@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(hol.jimis@gmail.c | |om) | --- Comment #4 from Jimis Hol <hol.jimis@gmail.com> --- (In reply to Alynx Zhou from comment #3)
Did you have xdg-desktop-portal-gtk installed? It should get system wide dark mode setting via portal. Try install that. And maybe you should also do this: https://github.com/i3/i3/discussions/5896#discussioncomment-8556941
Yes it is installed. The xdg-desktop-portal and xdg-desktop-portal-gtk are the only relevant installed packages. What was missing is the $HOME/.config/xdg-desktop-portal/ directory. I created along with file $HOME/.config/xdg-desktop-portal/portals.conf where I put [preferred] default=gtk After reboot, the problem is solved. gnome-clocks and its timers work in dark mode. Thank you, thank you, very much. P.S. I was so excited that I added gnome by default=gtk;gnome and installed xdg-desktop-portal-gnome, that i excluded it due to bug id=1210065 as i mentioned. Unfortunately, not only issue id=1210065 remains but ruins dark theme too. So, excluding xdg-desktop-portal-gnome from installation and creation of $HOME/.config/xdg-desktop-portal/portals.conf with default=gtk IS JUST FINE. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1227479 https://bugzilla.suse.com/show_bug.cgi?id=1227479#c5 --- Comment #5 from Jimis Hol <hol.jimis@gmail.com> --- My home directory is decades old and survived from several distributions. Nevertheless, my opinion is that $HOME/.config/xdg-desktop-portal/portals.conf should be checked and autocreated if missing. Alynx Zhou I thank you again. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com