Open tasket opened 1 year ago
If I try to run qui-devices
directly in the shell I get:
Gtk-CRITICAL **: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
...and then two theme parsing errors for 'gtk.css' saying '-gtk-icon-size is not a valid property name'.
Also, the program just hangs after the errors until I hit Ctrl-C.
Switching the desktop session from Wayland to X11 appears to get everything working again. It appears recent versions of KDE default to Wayland.
The KDE doc probably should be updated to instruct the user to select X11.
The KDE doc probably should be updated to instruct the user to select X11.
I’d rather fix the problems with Wayland. Xorg is deprecated and there is some hardware it simply cannot support properly. Xwayland has no problems on this hardware. Additionally, Qubes will eventually be Wayland-native, so this needs to be fixed anyway.
Assigning @marmarta since she maintains this code.
In that case, this might be a duplicate of a generic Wayland issue if one already exists.
In that case, this might be a duplicate of a generic Wayland issue if one already exists.
Not a duplicate, but possibly a subtask.
It looks like a Wayland problem. It does not support tray status icons.
I changed the title of the issue to reflect the work that actually needs to be done.
This is blocked by all gtk wayland-compatible statusnotifier icons that I know of (libappindicator and libayatana-appindicator) not supporting tooltips on the icon.
@marmarta Alternative is to use underlying D-Bus API directly; I’m willing to help with that. The C libraries just use D-Bus under the hood.
There are a few problems here:
WAYLAND_DISPLAY=
in the environment.Personally, my preference remains writing the whole thing in Python, mostly because that means that both @marmarta and I can actually understand what is happening, and that problems show up as Python exceptions and not random segfaults.
well, as usual, I don't think writing and supporting a whole library up from scratch is a feasible solution. For me it just sounds like KDE+Wayland is not really working yet.
@marmarta want me to report a bug in KDE?
@marmarta want me to report a bug in KDE?
You're the person testing it - and you know that all I know about it is what we tested together on a call. Do what you think is right.
Tray icons not working is definitely a KDE bug: https://bugs.kde.org/show_bug.cgi?id=468085. There are two options I can think of, and both should avoid needing to rewrite all of the widgets:
The current plan is for @DemiMarie to find the best solution and prepare a PoC that shows it actually works, and how to use it in Python.
Pasting a message from @marmarta: basic requirements for the POC are:
How to file a helpful issue
Qubes OS release
4.2rc1, updated with current-testing including:
kde-settings-qubes-5.12.3-8 plasma-breeze-qubes-5.12.3-8
Brief summary
After installing and switching to KDE in dom0, none of the Qubes widgets such as qui-domains and qui-devices are visible/usable.
Note that KDE now defaults to Wayland and this issue does not occur when selecting an X11 session.
Steps to reproduce
Install KDE:
sudo qubes-dom0-update kde-settings-qubes
Also make the changes for lightdm->sddm.
On edit: Also select 'Wayland' session when logging in.
Expected behavior
Qubes widgets appear when logging in to desktop.
Actual behavior
Somewhat normal KDE startup, except no Qubes widgets (and the App Launcher appears in the center of the screen, not near the widget). They are not listed under the hidden menu, and configuring systray doesn't list any Qubes widgets. The standard KDE widgets are present.
Related
Issues #8326 #8159 #8187 #3366