Bug 370529

Summary: "Active Window" area shows black box for Alt-Tab Compact switcher
Product: [Applications] Spectacle Reporter: Luke-Jr <luke-jr+kdebugs>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED FIXED    
Severity: minor CC: nate, peter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Works in Spectacle 17.12.1

Description Luke-Jr 2016-10-12 08:29:27 UTC
With "Area" selected as "Active Window", Spectacle takes a screenshot of the entire screen, but with the Compact switcher just a black box.

Reproducible: Always

Steps to Reproduce:
1. Set a 5 second delay and area to Active Window.
2. Take a New Screenshot
3. Leave the Compact switcher open during the screenshot

Actual Results:  
Full screen image with a black box for the switcher, and no contents

Expected Results:  
Just the switcher, with contents. Or at least the full screen, with contents in the switcher.

"Full Screen" area works fine.
Comment 1 Peter Wu 2016-10-14 09:27:59 UTC
With the "Compact" switcher (System Settings -> Task Switcher -> Visualization -> Compact), and "opening" the task switcher (via Alt-Tab), Spectacle 16.08 gives me the selected window in the list (not the compact switcher list).

If you experienced some missing pieces in the resulting screenshot, then it is possibly fixed by bug 357223. Can you confirm this?
Comment 2 Nate Graham 2018-02-10 15:42:17 UTC
Created attachment 110510 [details]
Works in Spectacle 17.12.1

Works in Works in Spectacle 17.12.1. See attached screenshot.
Comment 3 Luke-Jr 2018-02-10 22:41:46 UTC
Confirmed fixed. It doesn't have the described "expected results" (the screenshot is of the otherwise-active window, with any overlap of the switcher rendered correctly), but the behaviour is now reasonable.