Bug 288514 - Window decorations no longer included in snapshots
Summary: Window decorations no longer included in snapshots
Status: RESOLVED UNMAINTAINED
Alias: None
Product: ksnapshot
Classification: Applications
Component: general (show other bugs)
Version: 0.8.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Richard Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-09 00:52 UTC by Unknown
Modified: 2018-09-04 04:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2011-12-09 00:52:28 UTC
Version:           0.8.2 (using KDE 4.7.3) 
OS:                Linux

Window decorations are not being captured now, even though "Include window decorations" is checked. I tend to post lots of screenshots on Kubuntuforums.net and noticed today that an image I posted is missing the decoration: https://lh6.googleusercontent.com/-e4slfGhAL-Y/TuFQrNrAHeI/AAAAAAAAEgc/8jmQOzmvv0o/s576/dolphin-addon-installer.png. Looking through my postings, the latest one including a image where the decorator was captured was on 21 Nov 2011: https://lh3.googleusercontent.com/-8LKjUGT40fM/TsrJ8AOUWRI/AAAAAAAAEc4/vB4FuIV-8vY/s576/flash-file-associations.png.

System Settings | Workspace Appearance | Window Decorations shows that Oxygen is currently active; Decoration Options | Shadows | Active Window Glow is enabled and configured thusly:

Size = 40
Vertical offset = 1
Inner color = #70EFFF
Outer color = #54A7F0 and is enabled

Reproducible: Always

Steps to Reproduce:
1. Start KSnapshot
2. Chosoe "Window under cursor"
3. Move to window of interest and click once to bring to foreground
4. Wait for KSnapshot to do its thing
5. Observe the decoration is missing

Actual Results:  
Save file, open in Gwenview, observe that there now is no longer a decoration or a transparency surround

Expected Results:  
Save file, open in Gwenview, observe that where there should be the window glow and the checkerboard pattern (indicating transparency) behind the glow

My file format is and always has been .png
Comment 1 Unknown 2011-12-09 08:42:13 UTC
Updating. The issue might be caused by a change in video drivers. On 23 Nov, two days after my last successful snapshot with decoration, I upgraded the nVidia proprietary driver from 285.05.09 to 290.10.

Please see my related post on Kubuntuforums.net for illustrations: http://kubuntuforums.net/forums/index.php?topic=3119632.msg280941#msg280941

With desktop effects disabled, Oxygen's Active Window Glow is also disabled, and the blue one-pixel decorator appears in the snapshot. But when effects are enabled, the glow decorator fails to appear in the snapshot, even when "Include window decorations" is enabled.
Comment 2 Unknown 2011-12-09 20:49:26 UTC
Another update. I should be clearer: it's not the full decorator that's missing, but only the glow. When "Include window decorations" is _not_ checked, the title bar and buttons do not appear in the snapshot, as expected. When the option _is_ checked, the title bar and buttons do appear, but the glow is missing.
Comment 3 Willem 2012-01-23 16:19:36 UTC
I experienced the same problem, but I was able to fix it by enabling the Screenshot desktop effect (System settings | Desktop Effects | All Effects | Screenshot).
Comment 4 Unknown 2012-01-23 18:29:23 UTC
You're right, that worked! Thanks.

I guess we can mark this bug closed, then.

But it leaves me wondering whether the description of the effect is correct? It says "Saves screenshot of the active window in the home directory." It's KSnapshot that's actually doing the capture-and-save process though, right? So wouldn't it be more accurate to describe this effect as "Include window decoration effects in screenshots" or something similar?
Comment 5 Andrew Crouthamel 2018-09-04 04:17:44 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years and I will be closing this bug. Spectacle is the replacement for ksnapshot now. Please test again and file a new bug for Spectacle if you still have issues. Thank you!