Bug 470301 - Spectacle cannot screenshot context menus.
Summary: Spectacle cannot screenshot context menus.
Status: RESOLVED UPSTREAM
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: git-master
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-26 16:30 UTC by Roke Julian Lockhart Beedell
Modified: 2024-01-20 12:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2023-05-26 16:30:22 UTC
STEPS TO REPRODUCE AND OBSERVED RESULT

1. Use key-binds and/or the “Active window” mode.
This results in nothing occurring – the keys are not captured.

1. Use a delay or the full-screen mode.
The menu is not captured.

EXPECTED RESULT

Spectacle should capture the context menu.

SOFTWARE/OS VERSIONS

Operating System: openSUSE Tumbleweed 20230525
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.9
Kernel Version: 6.3.2-1-default (64-bit)

ADDITIONAL INFORMATION

https://discuss.kde.org/t/how-to-take-screenshot-of-context-menu-with-spectacle/1682/10?u=rokejulianlockhart

Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 31.2 GiB of RAM
Graphics Processor: AMD Radeon RX 5700
Comment 1 Noah Davis 2023-05-26 16:43:09 UTC
This is a known limitation of X11 that all screen shot apps face. Even Windows has this problem. It appears to be fixed on Wayland. There's not really anything that can be done about this on our end. The way to work around this is to set up a capture delay, start the capture, open the menu and then wait for the capture to happen.
Comment 2 Roke Julian Lockhart Beedell 2023-05-27 22:14:26 UTC
(In reply to Noah Davis from comment #1)
> This is a known limitation of X11 that all screen shot apps face. Even
> Windows has this problem. It appears to be fixed on Wayland. There's not
> really anything that can be done about this on our end. The way to work
> around this is to set up a capture delay, start the capture, open the menu
> and then wait for the capture to happen.

I reported this *because* it doesn't work on Wayland.
Comment 3 Noah Davis 2023-05-27 22:35:45 UTC
(In reply to beedell.rokejulianlockhart from comment #2)
> I reported this *because* it doesn't work on Wayland.

It would be ideal if you could include important details like that in the bug report description. Can you provide other details such as what modes you tried and detailed instructions on how to reproduce the bug? The instructions in the bug description aren't clear. By the way, I just posted another bug report about taking screenshots using Window Under Cursor mode on Wayland (https://bugs.kde.org/show_bug.cgi?id=470341). Is this the same bug or a different bug?