GNOME Bugzilla – Bug 524468
Screenshoot button not working when menus are opened
Last modified: 2020-11-06 20:05:26 UTC
Please describe the problem: When trying to take a screenshoot of the screen or of an application with a menu opened (eg: file menu) nothing will answer the stamp button press just like if it wasn't pressed to begin with. So there is no way to get screenshoots with menus opened with the stamp button on the keyboard. The same behaviour can be noticed with applets which have menus including network manager. It seems to affect also applications not using gtk, like qt applications Steps to reproduce: 1. open an application of choice with some menus 2. open a menu and leave it opened 3. Press Stamp Actual results: Nothing Expected results: That the gnome-screenshoot window opens with a screenshoot of the entire window or the entire desktop (depending if alt is pressed). Does this happen every time? yes 100% Other information:
i've asked someone who had already updated to 2.22 to test this and he reported the same results so I'm increasing gnome version
*** Bug 485671 has been marked as a duplicate of this bug. ***
I'm confirming this bug - I've reproduced it, and there's also a duplicate. Thanks for the report, weltall2.
-> metacity It's the WM that takes care of spawning gnome-screenshot when the key is pressed; reassigning.
Working fine for me with 2.25.5 and trunk. What version are you using?
gnome 2.24.1 metacity 2.24.0 right now
Does it happen with 2.25.5 for you?
I can reproduce this bug, both on 32 bits and 64 bits x86, with Mandriva cooker: metacity 2.25.5 gtk 2.14.4 Xserver 1.4.2 This happens with whichever menu (context or from the menubar), wherever is the mouse. My shortcut key for screenshot is "Print Screen". Let's note that actually no shortcut key works at all in the menu: terminal, change workspace, play/pause, change volume... (last two ones are not handled by metacity). Shortcuts starting by "alt" are different because the key automatically closes the menu!
Reopening as the questions have been answered.
bug is still present on Gnome 2.26.1 X.Org X Server 1.6.0
My guess is that it all comes because most toolkits do a grab when a menu is displayed. cf this interesting discussion: http://www.mail-archive.com/xorg@lists.freedesktop.org/msg07175.html Not sure there is any simple fix... grabs seem really nasty.
Created attachment 340272 [details] Screenshot: File menu is not displayed in screenshot. Note that the 'File' menu selection however is displayed.
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports in Bugzilla which have not seen updates for many years. If you can still reproduce this issue in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/metacity/-/issues/ Thank you for reporting this issue and we are sorry it could not be fixed.