Created attachment 125684 [details] KDE desktop's context menu New feature request: A mean to capture menus alone, accessible within KDE desktop. Few examples of such menus: - Context menu (see KDE_desktop_5.17.5_right-click.png), which is accessible by right-clicking while pointer is on desktop's area - Status and notification (see KDE_desktop_5.17.5_status_notification.png), which is accessible from tool bar.
Created attachment 125685 [details] KDE desktop's Status & Notifications menu
This is already possible using Spectacle's delay feature. You set a 2-second delay, open the context menu, and then it will be captured using whatever capture mode you're using. "Window under cursor" is ideal for this. Unfortunately this is the best we can do under X11 at least, due to limitations in how X11 works.
Created attachment 125709 [details] Output according to suggested combination of options Under Fedora i had tested the application's outputs relying on that combination too. Instead of screenshot KDE_desktop_5.17.5_right-click.png, as model screenshot in sample KDE_desktop_5.17.5_right-click_1.png was unexpectedly produced.
Does it work if you use Rectangular Region mode instead?
Good intuition. It suits as expected as a combination with delay, in order to allow a right-click operation previous to defining the desired frame. It seems to me, it couldn't be a better alternative on X11. Let's keep present report close if it suits you as well, despite the solution doesn't answer the original requirement, which was to grab it automatically. Bye.