Bug 463417 - Capture Rectangular Region works differently now
Summary: Capture Rectangular Region works differently now
Status: RESOLVED FIXED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 22.12.0
Platform: Manjaro Linux
: NOR minor
Target Milestone: ---
Assignee: Boudhayan Gupta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-24 06:04 UTC by Aaron Miller
Modified: 2023-01-12 20:50 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 22.12.2


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Miller 2022-12-24 06:04:45 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Bind a keyboard binding to Spectacle's "Capture Rectangular Region" action (I used Meta-$).
2. Invoke the keyboard binding.

OBSERVED RESULT

Spectacle shows a rectangle at a seemingly arbitrary size and location on the screen. You have to drag and resize it then press Enter to take a screeenshot of that region of the screen.

EXPECTED RESULT

You left click and drag to start one corner of the rectangle, and the opposite corner is determined by where you release the drag. This was the old behavior. 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro Linux
(available in About System)
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
The old behavior is very similar to what happens on macOS, which is why I prefer it to work the same way, because I need to switch between macOS and Linux on a regular basis.
Comment 1 Nate Graham 2023-01-06 19:51:49 UTC
In the 22.12 release, we changed the default settings to remember the last-used rectangular region by default. What's the the existing bug white rectangle is.

If you preferred the old change, you can go back to it by showing Spectacle's settings window changing the value of "Remember selected area" to either "Never" or "Until Spectacle is closed".

I didn't agree with this change, but a bunch of other people did, so I didn't try to veto it. For now I'm closing this bug report since it was an intentional change. But if we get a lot more complaints, we can consider re-opening it and returning to the old behavior.
Comment 2 Aaron Miller 2023-01-06 20:00:00 UTC
Thank you, Nate! I was unaware there was a setting for this.
Comment 3 Bharadwaj Raju 2023-01-11 17:12:47 UTC
> You have to drag and resize it then press Enter to take a screeenshot of that region of the screen.

Note that you don't have to do this — you can, just like before, left click and drag anywhere to create a new region.
Comment 4 Nate Graham 2023-01-11 17:14:47 UTC
You can't left-click and drag within the region selector box, since it's drags the region selector box. So this is only practical if the previous selection box was small or didn't overlay with the new region you want to select.
Comment 5 Bharadwaj Raju 2023-01-11 18:40:53 UTC
Multiple complaints about this now. Maybe it is worth reverting the change until we come up with something better?
Comment 6 Nate Graham 2023-01-11 18:45:50 UTC
I'm in favor.
Comment 7 Nate Graham 2023-01-11 18:47:21 UTC
As mentioned in https://invent.kde.org/graphics/spectacle/-/merge_requests/156#note_534846, I still think "remember until Spectacle is closed" is the best default setting.
Comment 9 Bharadwaj Raju 2023-01-12 12:01:43 UTC
Git commit c9ca631b5d2f2237f538c00b19e9cee672a534a8 by Bharadwaj Raju.
Committed on 12/01/2023 at 12:01.
Pushed by bharadwaj-raju into branch 'master'.

Make "Until Spectacle is closed" the default setting for remembering area

We got some complaints about the "Always" default. That made me reconsider the
whole thing, and now I realize taking repeated rectangular screenshots of the
same area is a rather more niche usecase than I first imagined.

This should be a better balance, and hopefully less confusing for users.

cc @ngraham 

M  +1    -1    src/Gui/SettingsDialog/spectacle.kcfg

https://invent.kde.org/graphics/spectacle/commit/c9ca631b5d2f2237f538c00b19e9cee672a534a8
Comment 10 Bharadwaj Raju 2023-01-12 12:02:13 UTC
Git commit e52fd311a7e074dd14a795e99478630ae1bd10bb by Bharadwaj Raju.
Committed on 12/01/2023 at 12:02.
Pushed by bharadwaj-raju into branch 'release/22.12'.

Make "Until Spectacle is closed" the default setting for remembering area

We got some complaints about the "Always" default. That made me reconsider the
whole thing, and now I realize taking repeated rectangular screenshots of the
same area is a rather more niche usecase than I first imagined.

This should be a better balance, and hopefully less confusing for users.

cc @ngraham 


(cherry picked from commit c9ca631b5d2f2237f538c00b19e9cee672a534a8)

M  +1    -1    src/Gui/SettingsDialog/spectacle.kcfg

https://invent.kde.org/graphics/spectacle/commit/e52fd311a7e074dd14a795e99478630ae1bd10bb