Skip to content

["Fitts' law" failure] Clicking scrollbar on very edge of screen in maximized window doesn't work due to 1-pixel wide gap between scrollbar and screen edge

Tested with version 0.6.2 of Mousepad which comes bundled in Xubuntu 24.10 by default.

 

In a maximized program window, if you try to click-hold and move the scrollbar by following Fitts' law of simply moving the mouse cursor all the way to the right edge of the screen, you'll discover that you've actually overshot the scrollbar due to the presence of a 1-pixel wide gap. This occurs regardless of whether you try to drag the scrollbar slider itself or if you click elsewhere along the scrollbar, and also occurs with the horizontal scrollbar on the bottom side of Mousepad (which I forgot to include this in the demonstration video...)

For reference, other text editors such as FeatherPad and gnome-text-editor do not have this issue.

Also, keep in mind that, due to a long-persisting and extremely widespread visual cursor alignment bug(?) (you have to go all the way back to Ubuntu 10.10, not a typo, to find the last Ubuntu version without the cursor-alignment issue), the actual pixel where the click occurs is not the tip of the cursor but is 1 pixel in from the left and 1 pixel down from the top.

 

Video demonstration (note the left & right-click indicators in the bottom-right):

video

Edited by NM64