GNOME Bugzilla – Bug 709126
region screenshot doesn't work with shell menu down
Last modified: 2014-04-26 14:21:50 UTC
The region screenshot doesn't work with a shell menu down. If I drop the status menu and use shift printscreen to grab a region, the crosshair appears but doesn't let me define a region.
Created attachment 275178 [details] [review] screenshot: Port to GrabHelper Taking an area screenshot doesn't work currently when in "grab mode", for instance when the message tray or top bar menus are open. Fix this by using GrabHelper for selecting the area, so grabs are properly stacked for us.
Review of attachment 275178 [details] [review]: ::: js/ui/screenshot.js @@ +178,2 @@ global.screen.set_cursor(Meta.Cursor.CROSSHAIR); + Main.uiGroup.set_child_above_sibling(this._group, null); What is this for?
(In reply to comment #2) > @@ +178,2 @@ > global.screen.set_cursor(Meta.Cursor.CROSSHAIR); > + Main.uiGroup.set_child_above_sibling(this._group, null); > > What is this for? To make sure that the selection rect does not end up stacked below open top bar menus.
Review of attachment 275178 [details] [review]: OK then.
Attachment 275178 [details] pushed as df08ae7 - screenshot: Port to GrabHelper