I am currently using GNOME 46.6 on Fedora 40. I noticed that if I press the lock screen shortcut (super + L) when the activities overview screen is activated (pressing the super button), this causes an immediate termination of the current gnome session ( all current programs are closed, and I am logged out). The issue can be reproduced by pressing the super button, and then when the activities overview screen appears, pressing super + L triggers the session termination. Can this be considered as a bug ?
I checked the gnome shell logs, and I found the following entries that happened at the same time the session was lost:
Nov 30 21:15:12 fedora gnome-shell[10580]: Connection to xwayland lost
Nov 30 21:15:12 fedora gnome-shell[10580]: Xwayland terminated, exiting since it was mandatory
Nov 30 21:15:12 fedora gnome-shell[10580]: JS ERROR: Gio.IOErrorEnum: Xwayland exited unexpectedly
@resource:///org/gnome/shell/ui/init.js:21:20
Nov 30 21:15:12 fedora gnome-shell[10580]: Execution of main.js threw exception: Module resource:///org/gnome/shell/ui/init.js threw an exception
Before the stacktrace, I am seeing the following entry
Nov 30 21:15:03 fedora kernel: traps: gnome-shell[8623] general protection fault ip:7fd36357e6ab sp:7ffdf82bacb8 error:0 in libc.so.6[16f6ab,7fd363437000+16d000]
It could be that this is due to a segmentation fault when comparing against something null in strcmp. Let’s see what the extension maintainers say.
FWIW, this means Xwayland terminated, and that isn’t handled properly in the lock screen, probably since it’s using the legacy service management code and not the systemd one, which is required for surviving Xwayland going away unexpectedly.
I am trying to fix the issue on gnome-shell. Anybody has an idea how to workaround key shortcuts not working in the gnome dev environment ? It’s mentionned here in the documentation docs/building-and-running.md · main · GNOME / gnome-shell · GitLab.
I was able to build and launch gnome, but without key shortcuts, I am not sure how can I reproduce the issue.