nextcloud / files_rightclick

👉 Right click menu for Nextcloud
https://apps.nextcloud.com/apps/files_rightclick
GNU Affero General Public License v3.0
65 stars 23 forks source link

Problems with right click on Linux/MacOS #101

Closed Chartman123 closed 11 months ago

Chartman123 commented 4 years ago

Hi,

I faced a really strange behaviour today on a friend's Mac and we needed some time to figure out what was happening:

When you do a right click on a Mac, the click event is fired earlier as on Windows/Linux. On these both the click is fired after releasing the mouse button. So mouse down, mouse up, click.

But on MacOS this seems to be mouse down, click, mouse up. Wouldn't be too much of a problem.

But with the right click app, when you're clicking/pressing the mouse button too long (only a few micro seconds too long), the following left click on a menu item doesn't work at all. Only if you release the mouse button really quickly after hitting it, everything works as expected.

Hope this is enough input for you :) If not, I'll try to get more information from my friend's computer.

Best regards,

Chris

Chartman123 commented 4 years ago

Here's a screeshot from a Mac showing the order of the events:

IMG-20200607-WA0004

Chartman123 commented 4 years ago

I just noticed this is also happening on Linux...

https://javascript.info/mouse-events-basics#events-order

image

wiraki commented 9 months ago

I am digging this issue up, but this is happening to me too, both on linux and mac. I don't know why this issue was closed, but I don't think that is expected user experience. Any comments?