Shutter fails to detect active window
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Shutter |
New
|
Undecided
|
Unassigned |
Bug Description
Scenario 1: there's a single window in the workspace and it is active.
Running `shutter -c -d 3 -a` for the first time works as expected.
However, repeating the command again (with shutter still running) fails to detect the (same) active window correctly:
error message window 'no window with name pattern shutter detected' is displayed
Scenario 2: there are more than one window in the workspace. Last of them is active.
Running `shutter -c -d 3 -a` for the first time works as expected.
However, repeating the command again (with shutter still running) fails to detect the (same) active window correctly:
shutter focuses and captures what appears to be first window in the workspace (even if it was not active initially)
additional console output in scenario 2: 'Exiting eval via last at /usr/share/
shutter 0.93.1 Rev.1278
3.16.7.4-1-MANJARO x86_64 (64 bit gcc: 4.9.2)
Desktop: LXDE (Openbox 3.5.2, lxpanel 0.8.0)
X.Org 1.16.3, Mesa 10.4.2
I replaced the default printscreen function command with 'shutter --active'. It pretty much works the same way as the author of the bug report described. For the profile settings, I use the filename: 'ToS_%NNN' and have it correctly save in a valid path.
I am a big fan of the feature not copying to clipboard. I tried the other settings but still end up as the same result.
From observation, it seems as though its buffering the image inside the shutter program itself instead of automatically being saved to the folder specified. When taking the screenshot, the shutter icon in the task panel momentarily disappears but then reappears after screenshot either succeeded or failed.
When it fails, it produces the error message "No window with name pattern 'shutter' detected" with the error title being: 'Error while taking the screenshot.' When it fails it just crashes shutter it seems.
It is weird that it worked fine in previous versions of shutter.
Shutter 0.93.1 Rev.1278
Linux mint 17.1 x86_64
Desktop: KDE