GNOME Bugzilla – Bug 751884
clicking on border crashes gnome-shell/mutter
Last modified: 2015-10-08 06:23:51 UTC
This happens under both wayland and X11. How to reproduce: 1) use theme clearlooks-phenix 2) start up firefox and maximize it 3) click on the left invisible "border" The firefox window is resized over whole screen, but due to the theme it has 1px of transparent border on each side (except the top). Clicking onto this 1px makes mutter want to resize the window, but the window cannot be resized as it is maximized, so the operation is computed to be META_FRAME_CONTROL_NONE. But this value is not explicitly handled by switch, so it goes to abort() added in 85452af.
Downstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=1209008
Created attachment 306688 [details] [review] handle META_FRAME_CONTROL_NONE
Review of attachment 306688 [details] [review]: The comment could be improved, otherwise seems fine to commit to me. ::: src/ui/frames.c @@ +1056,3 @@ + case META_FRAME_CONTROL_NONE: + /* We can get this for example when trying to resize window + * that cannot be resized (i. e. is maximized), see #751884 */ i.e. means "that is" e.g. means "for example" and is what you meant here Can you also mention the theme dependence (e.g., it is maximized and the theme has borders for maximized windows)
Created attachment 307195 [details] [review] handle META_FRAME_CONTROL_NONE
Review of attachment 307195 [details] [review]: Looks good to me.
Marek, do you need someone to push this for you?
yep, do not have permissions to do that
Comment on attachment 307195 [details] [review] handle META_FRAME_CONTROL_NONE OK, thanks!
*** Bug 754025 has been marked as a duplicate of this bug. ***
*** Bug 756230 has been marked as a duplicate of this bug. ***