| Summary: | While setting the size of a Rectangular Region to be captured, Spectacle shows the "hand" cursor (instead of the resize or cross cursor) when the capture region is smaller than a certain threshold | ||
|---|---|---|---|
| Product: | [Applications] Spectacle | Reporter: | Eamonn Rea <eamonnrea> |
| Component: | General | Assignee: | Noah Davis <noahadvs> |
| Status: | CONFIRMED --- | ||
| Severity: | minor | CC: | EpicTux123, john.kizer, kde, nate |
| Priority: | NOR | ||
| Version First Reported In: | 24.12.2 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
Region Screenshot Hand Cursor on Small Region
Region Screenshot Knob Display Issue Hand cursor when drawing rectangular region with small dimensions |
||
|
Description
Eamonn Rea
2025-02-21 19:08:43 UTC
I see resize cursors at the edges of the box in current git master; can't reproduce. I only see the open hand cursor in the center of the box, where it can in fact be clicked and dragged to move it around. On further testing, this seems to only happen if the region is below a certain small size. As the region sizing is not accurate on my current setup I cannot give an exact size (Bug 483155, which at least on my machines is not fixed) but when they are small, resizing shows a hand cursor until the region is of a larger size. How small are we talking about? Can you take a phone photo of the screen when it's happening? So the sizing varies depending on monitor resolution, in that the "visual size" to reproduce the problem is the same regardless of display size, but of course on a higher resolution display that means there would physically be more pixels. On a 1920x1080 display, so long as the region is less than approximately 50 pixels in height, the hand icon will always appear no matter the width. This is even true on a 3840x2160 display, where the hand icon will be used for the whole length of that display while sizing, so long as the region is less than - I suppose about 100 pixels? This specific behaviour is new in Plasma 6.3.2, in Plasma 6.3.1 the hand icon would disappear after the region extended for about half of the display. The hand icon goes away once the region extends into another display, until the region is about a fifth of the way into the display, and then the hand icon appears again. I will try to get a picture to attach to the ticket. In further testing, the cursor appears until the region is at such a size that the little "knobs" on the edges and corners of the region actually display properly - they display incorrectly if the region is at a small size, where they are offset by a noticeable amount in the opposite direction that they should display on. It is as if there is a thick box drawn around the region, and the "knobs" display as though they are attached to that. I have taken pictures on my phone of both this phenomenon, and the main issue described in the ticket of the hand icon appearing. The images were taken on a 1920x1080 display. Note that the region size in pixels should be ignored from the screenshot, as noted it is not accurate on Spectacle when you have a scaled display anywhere in the setup (Bug 483155). Created attachment 179002 [details]
Region Screenshot Hand Cursor on Small Region
Created attachment 179003 [details]
Region Screenshot Knob Display Issue
(In reply to Eamonn Rea from comment #5) > In further testing, the cursor appears until the region is at such a size > that the little "knobs" on the edges and corners of the region actually > display properly - they display incorrectly if the region is at a small > size, where they are offset by a noticeable amount in the opposite direction > that they should display on. It is as if there is a thick box drawn around > the region, and the "knobs" display as though they are attached to that. That was actually intentional behavior preserved from the pre-2023 version of spectacle. I think the intention was to make it easier to click the handles at small sizes. Not sure if it still makes sense. *** Bug 500194 has been marked as a duplicate of this bug. *** I can reproduce the cursor showing up as a hand while the Rectangular Region to be captured is small enough to trigger the behavior mentioned in comments 5 and 8 - attaching an extremely poorly-taken cell phone video, if that's helpful! Created attachment 179381 [details]
Hand cursor when drawing rectangular region with small dimensions
|