applets/taskmanager: make it harder to accidentally start a drag
Right now there is code to reduce the liklihood of accidental drags, but it suffers from two issues that reduce its effectiveness: - It doesn't internally check for all the parameters used to signify that the mouse is pressed, just one which serves as a proxy for the rest. As a result, if they get out of sync it's possible for a drag to begin even when the mouse isn't pressed. - It has a distance threshold before starting a drag that defaults to 10px, but can be overridden in config files to be much less. And 10px is quite small anyway. This commit fixes those issues by checking for all press-based paremeters when determining whether to start a drag, and and ensuring that the drag threshold never falls below 1/2 of the icon size no matter what it's set to in the config file. BUG: 402376 FIXED-IN: 5.26
parent
5307ac20
Loading
Loading
Pipeline
#228186
passed
with stage
in
2 minutes and 47 seconds
Loading
-
mentioned in commit ad44c4c2
-
mentioned in merge request !1217 (merged)
-
mentioned in commit e75d90d9
-
mentioned in commit 56e25daf
Please register or sign in to comment