-
Notifications
You must be signed in to change notification settings - Fork 356
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
Wayland fixes #6018
base: master
Are you sure you want to change the base?
Wayland fixes #6018
Conversation
Hello @aleasto! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2024-11-27 17:56:49 UTC |
@jkonecny12 this needs to be backported to |
Tested on Workstation (with GTK UI), KDE and Xfce Live ISOs. Everything seems to be working just fine. EDIT: Tested also in boot.iso and also works fine. |
/kickstart-test --testtype smoke |
/kickstart-test --testtype smoke |
Hi @aleasto our tests failed on this message:
I'm not sure if this is critical or not, I know that we are already blocking some of these messages. Do you know if it is safe to ignore? |
Introduced by changes in: rhinstaller/anaconda#6018 Ignores this message: ``` 10:26:59,558 DEBUG anaconda:anaconda: misc: GLib: rhinstaller#12(anaconda:2630): Gtk-rhinstaller#33[1;35mCRITICAL#033[0m **: rhinstaller#33[34m10:26:59.551#033[0m: gtk_widget_set_child_visible: assertion '!_gtk_widget_is_toplevel (widget)' failed ```
/kickstart-test --kstest-pr 1343 --testtype smoke |
It is probably safe to ignore, if the code has the correct impact. It seems to be complaining about setting the decorations to be invisible not being possible for non-windows, which is fine (we don't want dialogs to have no decorations). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should try to resolve the test issue other way than ignoring the error.
Setting decorated=false doesn't do what advertised, in Wayland at least. Gtk3 will request server-side-decorations unless a titlebar is set. We can set any widget as titlebar, because set_decorated(False) makes it invisible. I'm using GtkDrawingArea as a low-overhead widget.
Gdk on Wayland uses prgname as the app id. Set it to match the desktop filename.
Co-authored-by: Jiri Konecny <[email protected]>
Wayland fixes