I think mouse clicking configuration should come with two additional parameters:
- We can now set the max time interval between two clicks that will be considered a double-click. We could also have a minimum. A minor muscle twitch can give two clicks in rapid succession which can be mistakenly interpreted as a double-click. In my case, when my wireless mouse runs out of battery or needs cleaning, left-clicking and holding (eg when moving a window) can sometimes be interrupted and resumes after a few ms which again is interpreted as a double-click. This can cause a windows to be maximised if the pointer is on the title bar, a file to be opened, or an application to be executed. Setting that double-click interval to, say, 100 ms min and 400 ms max should solve this without sacrificing anything and would be good for accessibility too.
- There could be a min interval between the time a pop up appears and when a click is accepted as valid. Eg you want to click on something on the screen, a pop-up appears unexpectedly and you have accidentally clicked on ‘OK’ or worse. When it is impossible for a human being to have clicked so quickly on purpose, the click should be ignored.
I think both of these are consistent with the configurability Plasma is famous more.