Bug 500194 - Wrong cursor icon depending on crop size
Summary: Wrong cursor icon depending on crop size
Status: RESOLVED DUPLICATE of bug 500543
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 24.12.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-16 15:38 UTC by EpicTux123
Modified: 2025-03-14 03:14 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description EpicTux123 2025-02-16 15:38:11 UTC
If the crop is small, the hand icon is shown instead of the cross icon or the "resizing this side" icon. I believe the hand icon should only be shown when moving the crop.
Comment 1 Noah Davis 2025-02-17 04:53:54 UTC
Is this in the rectangle capture mode or with the viewer window's crop tool?
Comment 2 Noah Davis 2025-02-17 04:58:27 UTC
I just noticed that the cursors used for dragging a selection in the viewer window and the fullscreen rectangle mode are slightly different. The viewer window doesn't use the hand, so you probably meant the rectangle mode. The hand is there to indicate that the selection can be dragged. When the cross cursor is visible, it indicates that you can click and drag to make a new selection. It would be inappropriate to show the cross when clicking and dragging would move the selection instead of making a new one. What is your reason for wanting the cross?
Comment 3 EpicTux123 2025-02-17 18:58:05 UTC
Hello. Thanks for your comment. I'll try to clarify what I meant:

The important part of the problem is when selecting the desired area in the rectangle capture mode (I'll call it the "selection stage").
Understand the "selection stage" as the moment until you let go of your mouse button to let Spectacle know you have finished your selection.
To replicate the bug, you don't need to have the cross cursor visible. You can replicate it in the initial/first selection stage.

In the selection stage,
whatever if you go with your initial selection or start a new screenshot when the cross cursor is visibile,
it's possible to notice that after starting new capture, and while dragging it,
the cursor changes to the hand cursor or the arrow cursor that indicates "you are resizing this area".
After a certain threshold, only the arrow cursor that indicates "you are resizing this area" is shown. The hand cursor is nowhere to be seen after meeting the threshold when you're in the selection stage.

I was thinking when writing this reply and I've come to a conclusion that showing the hand cursor and the arrow cursor that indicates "you are resizing this area" when in the selection stage is wrong for both. In the selection stage, only the cross cursor should be shown.

The hand cursor and the arrow cursor that indicates "you are resizing this area" should only be shown after you are done with the selection stage (you're done when you have the options to Copy/Save and some buttons to edit the image). If you're in the selection stage, the cross cursor should be the only one visible at all times.

Here is an example from the ShareX app (open-source app, Windows-only): https://youtu.be/NVOZ9_qmz3Y?t=126
Only the cross cursor is shown.

Thanks.
Comment 4 John Kizer 2025-03-14 03:14:57 UTC
Hi - merging this one in with a bug that, while a bit newer, has some attached pictures that may help. Thanks!

*** This bug has been marked as a duplicate of bug 500543 ***