GNOME/Wayland: Only GTK3/4 programs work 16 May 2021, 09:45:42 Since there was an update to GNOME on Friday (May 14th) I encountered a quite funny bug. When I try to open GUI applications that are not based on GTK3/4 only, they don't show up. I'm writing this from the GNOME Web Browser because I can't start Firefox or Vivaldi – I tried Qt-based programs, Win32-based (WINE) as well as LibreOffice and Apache OpenOffice and also these don't work. Im working on a spreadsheet right now an have to use Gnumeric (GTK3).Did anybody else encounter this bug?
Re: GNOME/Wayland: Only GTK3/4 programs work Reply #1 – 16 May 2021, 15:44:53 hello, I switched to xorg to work around the bug 1 Likes
Re: GNOME/Wayland: Only GTK3/4 programs work Reply #2 – 16 May 2021, 16:22:22 I briefly tested this and I was able to launch any native wayland application but not xwayland (aka xorg) ones. I tried a QT application and it worked okay since I have the native wayland environment variable enabled for QT (no idea if this is the default or not yet). We use a couple of patches for GNOME, but they're both elogind related so I wouldn't think it would have anything to do with this (could be wrong though). Last Edit: 16 May 2021, 16:30:06 by Dudemanguy 1 Likes
Re: GNOME/Wayland: Only GTK3/4 programs work Reply #3 – 16 May 2021, 16:48:41 Quote from: Dudemanguy – on 16 May 2021, 16:22:22I briefly tested this and I was able to launch any native wayland application but not xwayland (aka xorg) ones. I tried a QT application and it worked okay since I have the native wayland environment variable enabled for QT (no idea if this is the default or not yet). We use a couple of patches for GNOME, but they're both elogind related so I wouldn't think it would have anything to do with this (could be wrong though).This makes a lot of sense. If I remember correctly, there was also an update for xwayland on Friday. Where did you set the native wayland environment variable for QT?
Re: GNOME/Wayland: Only GTK3/4 programs work Reply #4 – 16 May 2021, 16:54:42 Running Firefox with MOZ_ENABLE_WAYLAND=1 firefox from shell works.
Re: GNOME/Wayland: Only GTK3/4 programs work Reply #5 – 16 May 2021, 17:06:45 Quote from: xanadu – on 16 May 2021, 16:48:41This makes a lot of sense. If I remember correctly, there was also an update for xwayland on Friday. Where did you set the native wayland environment variable for QT?It's QT_QPA_PLATFORM=wayland. If that works for you, then that would confirm my suspicions. I think this is likely a mutter issue.
Re: GNOME/Wayland: Only GTK3/4 programs work Reply #6 – 16 May 2021, 17:17:48 I tried to downgrade a couple of packages. The relevant one is gnome-shell: # pacman -U /var/cache/pacman/pkg/gnome-shell-1:40.0-1-x86_64.pkg.tar.zstThus gnome-shell 1:40.1-1 contains a bug that prevents GUIs that are using xwayland from loading.
Re: GNOME/Wayland: Only GTK3/4 programs work Reply #7 – 16 May 2021, 17:21:15 Ah yup, there's an arch bugreport for gnome-shell. I'll revert that linked commit for now until there's a proper fix from upstream. 1 Likes
Re: GNOME/Wayland: Only GTK3/4 programs work Reply #8 – 16 May 2021, 17:35:56 Just pushed gnome-shell with that commit reverted. It seems to launch xwayland applications again. It should be fine once the mirrors sync again. 2 Likes
Re: GNOME/Wayland: Only GTK3/4 programs work Reply #9 – 16 May 2021, 20:04:27 good evening, there has been an update of gnome shell and no more bug
Re: GNOME/Wayland: Only GTK3/4 programs work Reply #10 – 16 May 2021, 20:07:41 Quote from: jr53 – on 16 May 2021, 20:04:27good evening, there has been an update of gnome shell and no more bugHere it's still the old one from Friday:https://archlinux.org/packages/extra/x86_64/gnome-shell/