floem icon indicating copy to clipboard operation
floem copied to clipboard

Context menu: primary button does not close menu

Open charlescgs opened this issue 3 months ago • 3 comments

On Windows when you open menu and try to close by clicking (primary mouse button) outside of the menu area, it will flicker, but will not close. The menu will close when you click secondary mouse button. The right click menu is behaving correctly though.

https://github.com/user-attachments/assets/6fda0e9a-1174-4a01-8048-93c6a901ba78

charlescgs avatar Nov 11 '25 01:11 charlescgs

It's probably something I messed up while rebasing the ui events change one of the many many times I did that. Should be a quick fix

jrmoulton avatar Nov 11 '25 02:11 jrmoulton

Ok doesn't look like a ui events related change. might be because of the change to layout_rect. if you click much further away does it still happen?

jrmoulton avatar Nov 11 '25 02:11 jrmoulton

Yes, it is still happening no matter how far away I will click. But it will close when will click with primary mouse button on window menu or window top panel as shown below:

https://github.com/user-attachments/assets/7589feed-11e7-422b-a040-1a59039eb4f3

charlescgs avatar Nov 11 '25 02:11 charlescgs