Hi Alex,

Axel Beckert wrote:
Hi Geoff,

thanks for the detailed bug report!

Geoff wrote:
systray-mdstat notifications appear as per normal but the icon is
not in the tray.

When run from the command line I see these errors:

(systray-mdstat:60879): Gtk-CRITICAL **: 12:27:36.773: 
gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

This happened after I changed to using wayland.
Ok, I (and I'm speaking as the upstream developer now :-) have no
experience with Wayland or idea how its system tray works as I don't
use Wayland.
Thanks for providing this utility, I've been using it for years now!
If I run it like this I don't get those errors and it does appear in the 
systray and works normally:

GDK_BACKEND=x11 systray-mdstat
And did this work even although your session was running under
Wayland?
Using GDK_BACKEND=x11 does make it work under wayland.
If so, I might consider setting that variable unconditionally inside
the program and also rather early in the program. Then again, this
sounds like a ugly workaround and I wonder what would be the proper
way to solve this.

                Regards, Axel
Yeah it doesn't really feel right, I'd tried GDK_BACKEND=wayland first as that 
would make sense.

Just realised it's a perl script so I have some chance to understand how it 
works :)

Regards,
Geoff

Reply via email to