pop-os / cosmic-screenshot

Utility for capturing screenshots via XDG Desktop Portal
GNU General Public License v3.0
20 stars 8 forks source link

Rectangle select doesn't work against some edges (and corners) of the screen #9

Open jacobgkau opened 6 months ago

jacobgkau commented 6 months ago

Version: 98cafde

Description: If I choose the rectangle select tool, then move my mouse into a corner of the screen (other than the top-left corner), the cursor goes back to normal and I'm not able to click-and-drag to start a rectangle selection. I have to move the cursor at least one pixel away from the corner in order to start selecting a rectangle.

It seems that the issue is actually certain screen edges, which naturally affects the corners. I can't start a selection from the right or bottom edges, which means the top-right, bottom-right, and bottom-left corners are all unavailable. Only the top-left corner works, since both the top edge and the left edge let me start a selection from them.

Expected behavior: The mouse cursor should be able to start a rectangle selection from any edge or corner of the screen, since those are easy places for the cursor to end up and are therefore a common target for where to begin partial screenshots.