Bug 500145

Summary: Capture Active Window of Spectacle Settings has black frame instead of shadows
Product: [Plasma] kwin Reporter: nessie <nessie>
Component: effects-variousAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kde, noahadvs
Priority: NOR    
Version First Reported In: 6.3.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: OBSERVED RESULT
EXPECTED RESULT

Description nessie 2025-02-15 19:25:39 UTC
Created attachment 178409 [details]
OBSERVED RESULT

SUMMARY
The Spectacle settings window is super special and does not like having pictures taken of it. :/

STEPS TO REPRODUCE
1. Open Spectacle
2. Configure Spectacle...
3. Hit Capture Active Window shortcut (Meta+Print by default on my computer)

OBSERVED RESULT
Picture of Spectacle settings with a black bar around it instead of nice shadows.

EXPECTED RESULT
Picture of Spectacle settings with nice shadows around it.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.12.11-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor
Memory: 78.4 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 980 Ti/PCIe/SSE2


ADDITIONAL INFORMATION
I haven't found any other window where this black border is put instead of the nice shadows.
Comment 1 nessie 2025-02-15 19:26:40 UTC
Created attachment 178410 [details]
EXPECTED RESULT
Comment 2 Noah Davis 2025-02-15 19:42:25 UTC
Moved to KWin since the image comes from KWin's screenshot effect
Comment 3 Vlad Zahorodnii 2025-02-17 14:20:52 UTC
I cannot reproduce the issue
Comment 4 Noah Davis 2025-02-18 13:21:48 UTC
I cannot reproduce this either.
Comment 5 Vlad Zahorodnii 2025-02-18 13:48:43 UTC
This seems like a driver bug. Kwin doesn't create screenshot images without an alpha channel, and it also clears the alpha channel before capturing the window.
Comment 6 nessie 2025-02-18 17:42:41 UTC
(In reply to Vlad Zahorodnii from comment #5)
> This seems like a driver bug. Kwin doesn't create screenshot images without
> an alpha channel, and it also clears the alpha channel before capturing the
> window.

That's unfortunate. Thanks for your time. \o/