Created attachment 144481 [details] Spectacle window with error SUMMARY When you right click while trying to take a rectangular screenshot, you return to the Spectacle window and it reports: >Could not take a screenshot. Please report this bug here: create a spectacle bug STEPS TO REPRODUCE 1. Open Spectacle 2. Set Capture Mode to 'Rectangular Region' 3. Click Take a New Screenshot 4. Right click anywhere **Observed Behaviour** you return to the Spectacle window and it reports: >Could not take a screenshot. Please report this bug here: create a spectacle bug See attachment **Expected Behaviour** I guess nothing as long as there is no selection to reset. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux (available in About System) KDE Plasma Version: 5.23.4 KDE Frameworks Version: 5.88.0 Qt Version: 5.15.2
Can't reproduce. X11 or Wayland? What other settings are active/inactive in Spectacle?
This is with X11, no settings changed besides enabling 'Include mouse pointer'. What happens when you rightclick before creating the rectangle you want to capture?
(In reply to schmidtmanuel92 from comment #2) > This is with X11, no settings changed besides enabling 'Include mouse > pointer'. > > What happens when you rightclick before creating the rectangle you want to > capture? Oh, I have 'On Click' enabled. It only happens when 'On Click' is on. You can check the attachment of the initial report to see my exact settings. I have not changed anything in the 'Configure' menu.
Can confirm that.
With 'on click' enabled, I can also confirm it. Tho, I probably won't make it within the next two weeks (holidays , etc.). Will surely take a look into it after christmas :)
No worries, this is super low priority anyway, take all the time you want. Just thought I'd report it because it's most likely unintended behaviour.
A possibly relevant merge request was started @ https://invent.kde.org/graphics/spectacle/-/merge_requests/115
Git commit 2f9bbbfc2000dd118ea7fdeb2b8ffa28b65f0c71 by Bharadwaj Raju, on behalf of Antonio Prcela. Committed on 02/01/2022 at 05:46. Pushed by bharadwaj-raju into branch 'release/21.12'. Do not show error message when canceling with rightclick while in rectangluar mode Don't treat it as an error when 'on click' is enabled and a user presses right mouse click while taking a screenshot with rectangluar mode, instead of drawing a rectangle with left click. Instead, treat it as a simple cancel without failure. M +3 -1 src/SpectacleCore.cpp https://invent.kde.org/graphics/spectacle/commit/2f9bbbfc2000dd118ea7fdeb2b8ffa28b65f0c71