Bug 504028 - Active/Selected Window screenshot background sometimes becomes opaque when automatically copied to clipboard
Summary: Active/Selected Window screenshot background sometimes becomes opaque when au...
Status: CONFIRMED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: 6.3.4
Platform: Kubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-10 19:30 UTC by Dorin-Andrei Felea
Modified: 2025-05-13 18:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot of Info Center with a black background. It is supposed to have a transparent background, showing the window's shadow. (95.38 KB, image/png)
2025-05-10 19:30 UTC, Dorin-Andrei Felea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dorin-Andrei Felea 2025-05-10 19:30:28 UTC
Created attachment 181148 [details]
Screenshot of Info Center with a black background. It is supposed to have a transparent background, showing the window's shadow.

SUMMARY
Exactly what it says in the title, although it is either seemingly random unless one presses the Copy button afterwards and/or happens after Spectacle is closed.

STEPS TO REPRODUCE
1. Open Spectacle and take an Active/Selected Window screenshot with "Include window titlebar and borders" enabled, "Copy image to clipboard" set in the "After taking a screenshot" dropdown list, and selected PNG in "Image Saving", "Filename" dropdown list.
2. Let it automatically copy the image to clipboard and then paste it somewhere (better results when Spectacle is closed based on my observations)
3. See the issue

OBSERVED RESULT
See the picture.

EXPECTED RESULT
Same picture, but without the fully opaque background.

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Kubuntu 25.04 w/ Linux Kernel 6.14.0-15-generic (64-bit)
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.3
Comment 1 Nate Graham 2025-05-13 18:21:12 UTC
Can confirm when pasting into a text field on invent.kde.org on Firefox. The pasted filename ends with .png, so either it's lying about the file format, or somewhere along the way, the transparency got removed.