GNOME Bugzilla – Bug 792599
mutter inhibit-shortcuts crash
Last modified: 2018-05-03 09:47:52 UTC
Created attachment 366924 [details] example code The attached gtk+ code crashes mutter/gnome-shell. It's a reduced example of some code I use for adding a grab for a popup window.
Created attachment 366925 [details] mutter stack trace
The backtrace seems to involve the inhibit-shortcuts dialog.
looking...
Many thanks for the simple reproducer! Indeed, this is trying to issue a shortcut inhibitor request on a surface without any window (the GtkWindow is just realized, never been mapped, so no MetaWindow).
In previous gtk+/mutter versions trying to grab an already mapped window failed under wayland, so I moved the map after it.
Created attachment 367016 [details] [review] [PATCH] wayland: shortcuts inhibitor requires a window Issuing a shortcut inhibit request for a surface without a window set will lead to a crash when trying to show the shortcut inhibitor dialog. In such a case, it's safer to deny the request.
Review of attachment 367016 [details] [review]: Makes sense to me
Comment on attachment 367016 [details] [review] [PATCH] wayland: shortcuts inhibitor requires a window attachment 367016 [details] [review] pushed to git master as commit 13cf19e - wayland: shortcuts inhibitor requires a window attachment 367016 [details] [review] pushed to branch gnome-3-26 as commit 77dd1bf - wayland: shortcuts inhibitor requires a window
Still happening in Evolution 3.28.1 (Fedora 28) when trying to insert an emoji. It stopped happening when changing dates in calendar events.
This bug is about mutter crashing, do you mean mutter still crashes every time you try to insert an emoji in evolution?
Oh, no, sorry :S