Bug 469482

Summary: Taking screenshot hides then shows Spectacle button in Task Manager
Product: [Applications] Spectacle Reporter: medin <med.medin.2014>
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: CONFIRMED ---    
Severity: minor CC: kde, nate
Priority: NOR    
Version First Reported In: 23.04.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Taking screenshot hides then shows Spectacle button in Task Manager
Spectacle Single Window Usage

Description medin 2023-05-08 11:13:27 UTC
Created attachment 158771 [details]
Taking screenshot hides then shows Spectacle button in Task Manager

If Spectacle is open then you take a screenshot delay, its entry in Task Manager is hidden and then shown which causes the whole task manager space to shrink then spread again, at that moment the screenshot is taken which results in messy look in Task Manager. See attached image for more info.
Comment 1 Nate Graham 2023-05-16 20:25:45 UTC
Can reproduce, but I'm not sure what we could do about this.
Comment 2 medin 2023-05-16 23:35:06 UTC
(In reply to Nate Graham from comment #1)
> Can reproduce, but I'm not sure what we could do about this.

The real problem is the usage of two windows, and most of Spectacle components in the initial window are simply duplicated on the second window that appears after a screenshot is taken. Why not use only one window and make components availability, size and position based on initial or finished state and screenshot or video recording. See attached image for more info.
Comment 3 medin 2023-05-16 23:36:13 UTC
Created attachment 159021 [details]
Spectacle Single Window Usage
Comment 4 Noah Davis 2025-03-03 20:35:15 UTC
> The real problem is the usage of two windows, and most of Spectacle components in the initial window are simply duplicated on the second window that appears after a screenshot is taken. Why not use only one window and make components availability, size and position based on initial or finished state and screenshot or video recording. See attached image for more info.

This is actually how Spectacle used to work, but it was very bad for multi-DPI screen support since a window can only have one screen scale at a time.