quickshotdevs team mailing list archive
-
quickshotdevs team
-
Mailing list archive
-
Message #00199
[Bug 553707] Re: quickshot crashed during 03-firefox-preferences screenshot
The activity-detection routine now maintains an internal reference to
the last window it knew to be active, post-automatic activation in the
case of a command-generated window, and activates that if the user did
not explicitly specify one.
The best thing a user can do, of course, is manually give focus to the
window they want to capture before the three-second countdown is up, but
this should catch most exception cases.
A non-fatal warning message is displayed to the user in the event that
that fallback fails, too, though.
** Changed in: quickshot
Status: Confirmed => Fix Committed
** Changed in: quickshot
Milestone: None => 1.0
--
quickshot crashed during 03-firefox-preferences screenshot
https://bugs.launchpad.net/bugs/553707
You received this bug notification because you are a member of Quickshot
Developers, which is subscribed to Quickshot.
Status in Quickshot - Capturing translated screenshots: Fix Committed
Bug description:
Hereis the debug info after trying to capture firefox preferences screenshot
quickshot@quickshot-computer:~$ quickshot --debug
** (quickshot:2996): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags'
** (quickshot:2996): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags'
** (quickshot:2996): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
Using http://screenshots.ubuntu-manual.org/ for network operations
Completing window initialisation
Determining active language
Checking current user
Completing window initialisation
Determining graphics hardware and resolution
WARNING: you should run this program as super-user.
Unable to detect resolution
Failed to change resolution
Displaying screenshot information
Updating screencap list
Determining active language
Fetching screencap state data from server
Updating screenshot details
Updating screenshot details
Prompting user to capture screenshot
Beginning screenshot countdown
Updating timeout countdown
Updating timeout countdown
Updating timeout countdown
Updating timeout countdown
Prompting user to approve screenshot
Uploading screencapture to server
Determining active language
Displaying screenshot information
Updating screencap list
Determining active language
Updating screenshot details
Prompting user to capture screenshot
Beginning screenshot countdown
Updating timeout countdown
Updating timeout countdown
Updating timeout countdown
Updating timeout countdown
Prompting user to approve screenshot
Traceback (most recent call last):
File "/usr/bin/quickshot", line 555, in on_capture_do
sub_rect
File "/usr/lib/python2.6/dist-packages/quickshot/lib/__init__.py", line 210, in make_screencap
capture.capture_window(_TEMPORARY_PATH, sub_rect=sub_rect)
File "/usr/lib/python2.6/dist-packages/quickshot/lib/capture.py", line 184, in capture_window
raise UnknownActiveWindowError('Window manager did not supply an active window reference')
quickshot.lib.capture.UnknownActiveWindowError: Window manager did not supply an active window reference
References