Bug 393964

Summary: spectacle can't capture expanded dropdown list
Product: [Applications] Spectacle Reporter: Teddy <reportbug>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED WORKSFORME    
Severity: normal CC: null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: spectacle does not cooperate
xfce4-screenshoter-works-perfectly.png

Description Teddy 2018-05-07 16:30:00 UTC
Go to KDE > Audio Volume Settings - Plasma > Audio volume > Advanced > Built-in Audio:

Open spectacle:

- Capture Mode
-- Area: Active Window
-- Delay: 3 seconds
- Content Options
--Include mouse pointer: unckecked
-- Include window titlebar and borders: ticked
-- Capture the current pop-up only: greyed out disabled

Then take a new screenshot, and expand Profile in section "Buil-in Audio". Although the list is expanded, it will be captures as normal (collapsed). See attachment.
Comment 1 Teddy 2018-05-07 16:30:20 UTC
Created attachment 112478 [details]
spectacle does not cooperate
Comment 2 Teddy 2018-05-07 16:32:23 UTC
Created attachment 112479 [details]
xfce4-screenshoter-works-perfectly.png
Comment 3 Teddy 2018-05-07 16:32:39 UTC
xfce4-screenshoter works
Comment 4 null 2018-05-07 21:46:29 UTC
Works fine if you set your capture mode to either "Window Under Cursor" or "Rectangular Region".

The reason it does not work for "Active Window" is that this captures the window before compositing the final image you see. You can see the difference if you move a window to go below the panel and even below the border of the screen: "Active Window" still captures the full window, while "Window under Cursor" will only capture the part that is visible as well as the panel on top (I suspect XFCE's screenshot tool will work the same).

We are aware that this could be made easier from a usability perspective, but this is no simple task for various reasons.
Comment 5 Teddy 2018-05-12 11:34:36 UTC
Ok thanks