Bug 404143 - Window Snapshot includes plasma theme decoration
Summary: Window Snapshot includes plasma theme decoration
Status: RESOLVED DUPLICATE of bug 372408
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 17.12.3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-09 18:49 UTC by Johannes E. Krause
Modified: 2019-02-09 20:44 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 Johannes E. Krause 2019-02-09 18:49:43 UTC
SUMMARY
When taking a screenshot of "Window under mouse cursor" [doesn't seem to affect "active window"] the screenshot includes an area outside the window, where seemingly some decorations from the plasma theme are included. this is independent from the checkbox of "include title and frame of window", and i feel like it should be neither. also this is independent from compositing being enabled, so it doesn't actually reflect the screen content, as the plasma decorations are disabled when compositing is disabled.

STEPS TO REPRODUCE
1. Have a theme which has, e.g. a shadow around the window
2. select "window under mouse pointer" in Spectacle
3. make a screenshot of a window
4. open screenshot in image viewer (e.g. Gwenview)

OBSERVED RESULT
Screenshot is several pixels larger than the window (including areas that are actually off-screen for maximized windows)

EXPECTED RESULT
Screenshot should only contain actual window content


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: OpenSUSE 15.0
(available in About System)
KDE Plasma Version: 17.12.3
KDE Frameworks Version: 5.45.0
Qt Version: 5.9.4

ADDITIONAL INFORMATION
this seems to be related to ksnapshot bug #348131
Comment 1 Rog131 2019-02-09 20:44:46 UTC

*** This bug has been marked as a duplicate of bug 372408 ***