Rubberband doesn't account for list item margins
Affected version
- Nightly flatpak: Yes
Steps to reproduce
- Use grid view
- Click and drag the cursor to select items, starting from the gap between the corners of the icons.
Current behavior
Files outside the border of the box are getting added to the selection if they are close enough. This makes selection a frustrating process due to requiring multiple attempts to start the drag from the right place.
Expected behavior
Only files whose visual borders are touching the selection box should be added to the selection.
Additional information
In a way, the previous version's behavior was better as it allowed to start the drag from anywhere outside the file's icon or name, rather than having to position the cursor in the gap between the hard-to-see borders.