"take screenshot" of current window doesn't work properly

Bug #510073 reported by eddified
This bug affects 9 people
Affects Status Importance Assigned to Milestone
gnome-utils (Ubuntu)

Bug Description

Binary package hint: nautilus

ubuntu 64-bit desktop, 9.10 --

When using the "Take Screenshot" utility from the menus (Applications -> Accessories -> Take Screenshot), and selecting "Grab the Current Window" radio button, the screenshot isn't generated properly.

- When choosing to "include the window border" in the screenshot, the screenshot utility seems to die -- the screenshot isn't taken and the "save as" dialog does not appear. (That is to say, after clicking the "Take Screenshot" button, nothing happens)

- When choosing NOT to "include the window border", the 'save as' dialog does appear and appears to work properly with one major exception -- the screenshot saved (and the screenshot thumbnail shown in the 'save as' dialog) is NOT of the current window. Instead, the screenshot that is taken appears to be of the upper left corner of the desktop. See attached screenshot for example of the result.


Display drivers: VirtualBox drivers. (Ubuntu is running as guest in VirtualBox)

Tested with "current window" being both firefox and nautilus, and gedit. Results are always the same -- it is impossible to take a window-only screenshot.

ProblemType: Bug
Architecture: amd64
Date: Wed Jan 20 05:00:45 2010
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/nautilus
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
Package: nautilus 1:2.28.1-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.31-17.54-server
SourcePackage: nautilus
Uname: Linux 2.6.31-17-server x86_64

Revision history for this message
eddified (eddified) wrote :
Revision history for this message
eddified (eddified) wrote :

Faulty screenshot attached.

Revision history for this message
Bruno Girin (brunogirin) wrote :

I can confirm that. I have intermittent behaviour when it comes to taking a screenshot of the current window that includes the window borders: if the "take screenshot" window doesn't overlap the current window, it fails completely; if the "take screenshot" window overlaps the current window, it works but also includes the overlapping area of the "take screenshot" tool while fading out (see top left corner of attached screenshot).

As a result, the Alt+PrtSc shortcut only works intermittently as well.

Changed in nautilus (Ubuntu):
status: New → Confirmed
Victor Vargas (kamus)
tags: added: needs-reassignment
Revision history for this message
Bruno Girin (brunogirin) wrote :

Changing to correct package prior to forwarding upstream.

affects: nautilus (Ubuntu) → gnome-utils (Ubuntu)
Revision history for this message
Victor Vargas (kamus) wrote :

Well, now this package was correctly reassigned and sent to upstream, I will mark this like triaged.

tags: removed: needs-reassignment
Changed in gnome-utils (Ubuntu):
importance: Undecided → Low
status: Confirmed → Triaged
Revision history for this message
eddified (eddified) wrote :

Bruno's problem sounds slightly different than mine. ALT+PrintScreen always works for me. And when a "window only" screenshot is taken using the "menu" method (as opposed to ALT+PrintScrn), if it works at all, it always gets the top left corner of the desktop, whether the screenshot tool's window is overlapping the current one or not (I just tried it both ways). (I don't have problems with fading because I don't have those nice effects turned on)

Revision history for this message
jimbob (jaspmatt-gmail) wrote :

  I have found that if I add a short delay, say 5 seconds, that it will work normally on my systems.

Revision history for this message
eddified (eddified) wrote :

Awesome, thanks jimbob! That worked perfectly. I'm not sure why I didn't try that option before... but I think the first time I saw the dialog, my eyes skimmed over that option and promptly dismissed it as unimportant, so I never thought about using it after that. :)

Revision history for this message
niemand (caniemand) wrote :

Trying to take a screenshot of the firefox window with borders - application dies. Without borders - similar results as in screenshot attached to Post #2. Adding a delay makes it work correctly.

Revision history for this message
ssbastos (bastos-sergio) wrote :

I have the same problem...

I wonder if the "Grab the current window" option isn't actually grabbing a reference to itself, and since that window disappears when you take the screenshot then no screenshot is generated.

Changed in gnome-utils:
importance: Unknown → Medium
status: Unknown → New
Changed in gnome-utils:
status: New → Invalid
Revision history for this message
bojojo@orange.fr (bojojo-orange) wrote :

"[Bug 5073] Re: take screenshot of current window doesn't work properly"
Bug Watch Updater doc

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.