After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 524468 - Screenshoot button not working when menus are opened
Screenshoot button not working when menus are opened
Status: RESOLVED OBSOLETE
Product: metacity
Classification: Other
Component: general
2.24.x
Other All
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
: 485671 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-03-26 11:44 UTC by weltall2
Modified: 2020-11-06 20:05 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
Screenshot: File menu is not displayed in screenshot. (118.50 KB, image/png)
2016-11-18 21:35 UTC, gnome.vrb
Details

Description weltall2 2008-03-26 11:44:45 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:
Comment 1 weltall2 2008-03-27 16:30:11 UTC
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 
Comment 2 Allan Day 2008-07-20 20:03:56 UTC
*** Bug 485671 has been marked as a duplicate of this bug. ***
Comment 3 Allan Day 2008-07-20 20:06:16 UTC
I'm confirming this bug - I've reproduced it, and there's also a duplicate.

Thanks for the report, weltall2.
Comment 4 Cosimo Cecchi 2008-11-08 14:55:32 UTC
-> metacity

It's the WM that takes care of spawning gnome-screenshot when the key is pressed; reassigning.
Comment 5 Thomas Thurman 2008-11-08 17:40:52 UTC
Working fine for me with 2.25.5 and trunk.  What version are you using?
Comment 6 weltall2 2008-11-08 18:50:55 UTC
gnome 2.24.1
metacity 2.24.0
right now
Comment 7 Thomas Thurman 2008-11-08 19:22:40 UTC
Does it happen with 2.25.5 for you?
Comment 8 Eric Piel 2008-11-12 08:38:27 UTC
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!
Comment 9 Tobias Mueller 2009-06-07 16:23:36 UTC
Reopening as the questions have been answered.
Comment 10 weltall2 2009-06-07 16:34:20 UTC
bug is still present on 
Gnome 2.26.1
X.Org X Server 1.6.0
Comment 11 Eric Piel 2009-06-08 15:07:11 UTC
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.
Comment 12 gnome.vrb 2016-11-18 21:35:25 UTC
Created attachment 340272 [details]
Screenshot: File menu is not displayed in screenshot.

Note that the 'File' menu selection however is displayed.
Comment 13 André Klapper 2020-11-06 20:05:26 UTC
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.