elementary / gala

Gala Window Manager for elementary OS and Pantheon
https://elementary.io
GNU General Public License v3.0
274 stars 77 forks source link

Gala crash/kill on window focus change (phpstorm) #423

Closed BenoitDuffez closed 6 months ago

BenoitDuffez commented 5 years ago

Using phpstorm under elementary OS 5.0 When I trigger the mass-replace tool (ctrl-shift-R), a popup window is opened with the find/replace form. When I validate this form, everything flashes weirdly. If I do it once more, the session is killed and I am brought to the login screen. If I log in from there, the desktop background show up but nothing else works (no plank, no window manager, nothing). I end up having to reboot.

Here's what's happening in syslog:

Nov 28 11:34:23 KLK876 gala.desktop[2307]: **
Nov 28 11:34:23 KLK876 gala.desktop[2307]: mutter:ERROR:core/window.c:1483:meta_window_unmanage: assertion failed: (window->display->focus_window != window)
Nov 28 11:34:23 KLK876 gnome-session[2024]: gnome-session-binary[2024]: WARNING: Application 'gala.desktop' killed by signal 6
Nov 28 11:34:23 KLK876 gnome-session-binary[2024]: WARNING: Application 'gala.desktop' killed by signal 6
Nov 28 11:34:23 KLK876 gala.desktop[28278]: Window manager warning: Window 0x480330a (win116) sets an MWM hint indicating it isn't resizable, but sets min size 1 x 1 and max size 2147483647 x 2147483647; this doesn't make much sense.
Nov 28 11:34:23 KLK876 gala.desktop[28278]: Window manager warning: Invalid WM_TRANSIENT_FOR window 0x4800046 specified for 0x480330a (win116).
Nov 28 11:34:24 KLK876 gala.desktop[28278]: Window manager warning: Trying to re-add keybinding "switch-to-workspace-last".
Nov 28 11:34:24 KLK876 gala.desktop[28278]: Window manager warning: Trying to re-add keybinding "move-to-workspace-last".
Nov 28 11:34:24 KLK876 gala[28278]: Preferences.vala:192: '/usr/share/themes/elementary/plank/dock.theme' is read-only!
Nov 28 11:34:25 KLK876 gala[28278]: invalid cast from 'CoglTexture2D' to '(null)'
BenoitDuffez commented 5 years ago

If I make phpstorm lose focus quickly (can be easy if the replace is happening on a lot of files), then nothing happens.

I'm guessing that the popup/main window separation from phpstorm is causing issues with the window manager.

lenemter commented 6 months ago

Closing the issue as stale. If you still encounter it please reply here.