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 434585 - default 0sec delay in gnome-screenshot does not work correctly
default 0sec delay in gnome-screenshot does not work correctly
Status: RESOLVED FIXED
Product: gnome-utils
Classification: Deprecated
Component: screenshot
2.20.x
Other Linux
: Normal normal
: ---
Assigned To: Jonathan Blandford
gnome-utils Maintainers
: 447934 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-04-30 13:09 UTC by Kamil Páral
Modified: 2009-01-25 03:22 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Kamil Páral 2007-04-30 13:09:12 UTC
If you start up gnome-screenshot and select to "Grab the current window", there is default delay of 0sec. This delay is not sufficent to switch to "current" window (as a matter of fact, the window active *before* starting up gnome-screenshot). This results in taking the whole screen very often, and sometimes with graphical artefacts (this bug is directly connected to bug #419676). It is essential for the default delay to be 1sec, or solve it in some other way.

Steps to reproduce:
1. Start gnome-screenshot from applications menu.
2. Select "Grab the current window", leave 0sec as a delay.
3. Grab
4. The screenshot is very often whole-screen screenshot, not current-window screenshot.

Notes:
This problem is not caused by slow computer. I have 2.5GHz machine.
This problem is directly connected with bug:
http://bugzilla.gnome.org/show_bug.cgi?id=419676
Comment 1 Wouter 2007-05-31 19:44:38 UTC
I second this one. The delay should be 1 second by default.
Comment 2 Kamil Páral 2007-10-09 15:07:06 UTC
still an issue in gnome 2.20
Comment 3 Teppo Turtiainen 2007-12-08 13:06:15 UTC
*** Bug 447934 has been marked as a duplicate of this bug. ***
Comment 4 Teppo Turtiainen 2007-12-08 13:06:50 UTC
Confirming because of the duplicate.
Comment 5 Cosimo Cecchi 2008-11-10 14:17:16 UTC
The screenshot is taken in an idle now (since 2.24), so this issue should have been fixed as a result. Closing as FIXED, please reopen if you can still reproduce the issue with the current version (2.24.x or SVN trunk).
Comment 6 eapache 2009-01-25 03:22:37 UTC
2.24.1 Ubuntu Intrepid. I still see this, but only with compiz enabled. The compiz animation to close the window is still going on when the screenshot is taken, and gets captured as a faded copy of the screenshot window on top of the original. I'm not sure the best way to deal with this. Perhaps it would be possible to ask compiz how long the window animation takes, and delay that length?

Again, setting a delay of a few seconds is an easy workaround.