RectanglePro-Community icon indicating copy to clipboard operation
RectanglePro-Community copied to clipboard

Pressing both mouse buttons at once treated as double click

Open jdarpinian opened this issue 5 months ago • 2 comments

I sometimes accidentally press both mouse buttons instead of one on a title bar, and Rectangle treats this as a double click that maximizes the window (but only after both mouse buttons are released). I would prefer that a double click would only be detected if a single button was pressed twice quickly and no other button was pressed in between.

jdarpinian avatar Oct 29 '25 18:10 jdarpinian

Sorry for the delay. I wasn't able to reproduce this one, and the logic is limited to left click events. I'm assuming that when this happens for you, you are clicking both left and right click?

rxhanson avatar Nov 05 '25 17:11 rxhanson

Yes. I did some more testing just now and realized that strangely enough this seems to be limited to Chromium windows, i.e. Chrome itself and Electron apps like VSCode. They must be doing something strange.

jdarpinian avatar Nov 05 '25 17:11 jdarpinian