Bug 491727 - Spectacle context menu does not disappear after selecting the region screenshot option from the taskbar context menu
Summary: Spectacle context menu does not disappear after selecting the region screensh...
Status: RESOLVED DUPLICATE of bug 376865
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: 24.05.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-14 20:08 UTC by Maggie M.
Modified: 2025-06-19 21:04 UTC (History)
2 users (show)

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


Attachments
Barely visible context menu after selecting region capture (96.58 KB, image/png)
2024-08-14 20:08 UTC, Maggie M.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maggie M. 2024-08-14 20:08:50 UTC
Created attachment 172623 [details]
Barely visible context menu after selecting region capture

SUMMARY


STEPS TO REPRODUCE
1. Right click on Spectacle from taskbar
2. Select "Capture Rectangular Region"

OBSERVED RESULT
Context menu stays on screen during screenshot region selection

EXPECTED RESULT
Context menu disappears and does not interfere

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Occasionally the context menu is more visible than other times
Comment 1 Noah Davis 2024-08-14 20:17:01 UTC
Does this only happen with spectacle and does it happen reliably? If not, then I think this might be some kind of KWin rendering bug.
Comment 2 Maggie M. 2024-08-14 20:30:56 UTC
(In reply to Noah Davis from comment #1)
> Does this only happen with spectacle and does it happen reliably? If not,
> then I think this might be some kind of KWin rendering bug.

I'm pretty sure it might be a side effect of the context menu fade out. The screenshot region capture UI comes up before the context menu gets to fully fade out. The faster the screenshot UI loads, the higher the chance of the context menu staying on screen is.
Comment 3 Noah Davis 2024-08-14 21:13:43 UTC
Ah, I didn't realize you were talking about a menu appearing in a screenshot and not just a rendering bug. I suppose it's expected. I'm not sure there's anything that can be done about it.
Comment 4 Maggie M. 2024-08-14 21:35:37 UTC
(In reply to Noah Davis from comment #3)
> Ah, I didn't realize you were talking about a menu appearing in a screenshot
> and not just a rendering bug. I suppose it's expected. I'm not sure there's
> anything that can be done about it.

That is understandable. Thank you for your time
Comment 5 Nate Graham 2024-08-15 14:07:59 UTC
As a workaround, you can set Spectacle to take screenshots after a short delay (I use 0.3 seconds) which will give time for things like this to end.

But yeah, unfortunately it's kind of unfixable without making Spectacle always delay screenshots (which would be annoying) or removing the context menu fade-out animation (which Spectacle can't guarantee, and which Breeze might not even want to do, and also 3rd-party themes might not follow suit).
Comment 6 Nate Graham 2025-06-19 21:04:43 UTC

*** This bug has been marked as a duplicate of bug 376865 ***