JannisX11 / blockbench

Blockbench - A low poly 3D model editor
https://www.blockbench.net
GNU General Public License v3.0
3.13k stars 277 forks source link

Hybrid menus close when cursor passes over menu separator #2129

Closed LCS-GIT closed 7 months ago

LCS-GIT commented 7 months ago

What are you trying to do, and what do you expect to happen?

When I open a hybrid context menu (is what I believe they are called), I expect it to stay open when I pass my cursor over context menu separators.

What happens instead?

When a hybrid menu is opened and you pass your cursor over a menu separator, the hybrid menu seems to lose focus and closes, making it difficult to reach certain tools. This same behavior applies to borders added around hybrid menus using themes. A fix to make this not occur by default when adding borders would also be nice. The thicker the separator or border, the more amplified the issue becomes.

Demonstration:

https://github.com/JannisX11/blockbench/assets/97115421/b71b0c3d-5773-4f56-a8d2-154ae7919f59

Demonstration with border added by theme:

https://github.com/JannisX11/blockbench/assets/97115421/7b6f641f-e260-4ed1-b48b-684eb6824468

As can be observed, the menu will not close if I'm lucky or if I pass my cursor over the separator/border fast enough.

Model format in which the issue occurs

UI problem, not specific to models

Blockbench variant

Program

Blockbench version

4.9.0

Operating System

Windows

Installed Blockbench plugins

No response