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

Workaround KDE wayland bug #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

ConnorJC3
Copy link

When launching on KDE Wayland, if arch-audit-gtk starts too early it will not show up in the tray and spit out this error:

(arch-audit-gtk:49658): Gtk-CRITICAL **: 07:18:53.737: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

It seems that if you launch too early on KDE Wayland attempting to setup the tray icon just randomly fails (on my machine, less than 1 in 10 logins will end up with the icon). This PR adds an arbitrary delay to the autostart entry, which causes the icon to show up in the tray every time on my machine.

KDE also has the option to delay the startup of entries to after another entry has started, but none of these reliably fixed the issue in my testing (specifically the relevant ones are probably org.kde.plasmashell and panel - both had less than a 50% success rate on my machine).

Probably fixes #10

Additional testing welcome to see if 5 seconds really is enough for all cases.

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

Successfully merging this pull request may close these issues.

Icon doesn't show on KDE Wayland
1 participant