When I click on a dialog in the 'window under cursor' mode I expect that spectable only makes a screenshot of the dialog and ignores e.g. the main window of the application. From solution description of bug 369330 it looks like this was intended, but at least I don't think that is what a user expects from an action labeled 'window under cursor. At least I didn't. Reproducible: Always Steps to Reproduce: 1. Open Kate 2. open file dialog with Ctrl-o 3. Start spectacle and select 'window under cursor' 4. Click on the kate open file dialog Actual Results: I get a screenshot of the dialog + kates main window Expected Results: I get a screenshot of the dialog only, because that's the window I've clicked.
Created attachment 101580 [details] dialog + mainwindow snapshoted by 'window under cursor'
There is the "Capture the only pop-up" option that seems to do what you expect. Changing the default value could probably be done, do you have suggestions for improvement in this area?
I confirmed the behavior described by @Achim in my these environment: * Plasma 5.9.4 * KDE Frameworks 5.33.0 * Qt 5.8.0 * XCB windowing system Also, when I click "Capture the only pop-up" and do the "On click" screenshot Delay setting, nothing happens and the 'Printscreen' button shortcut stop working. So, if I want to take another shot, I have to call from KRunner or from the Application launcher.
Created attachment 105734 [details] Successful file pop-up screenshot Successful screenshot with Window Under Cursor settings with the 'Capture the current pop-up only'.
The attached screenshot was a successful 'Capture the current pop-up only' with the following settings: * Plasma 5.9.5 * KDE Frameworks 5.34.0 * Qt 5.8.0 (built against 5.8.0) * The xcb windowing system The described behavior wasn't happening anymore and is working as described by @PeterWu.
Thanks for the update; closing.