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.

> 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?

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
-- 
 ,''`.  |  Axel Beckert <[email protected]>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

Reply via email to