Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Menu bar click-and-hold #82

Open
vrad-exe opened this issue Sep 10, 2024 · 4 comments
Open

Feature request: Menu bar click-and-hold #82

vrad-exe opened this issue Sep 10, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@vrad-exe
Copy link

In most applications with a menu bar, options in the menus can be selected by clicking and holding on the top-level button (File/Edit/View/etc.). moving the mouse to the option you want to select, then releasing it. This doesn't work in Lönn however, making me constantly get confused and try clicking and holding only for it to not do anything, as this is the way I typically use menu bars. This should be implemented.

I could attach an animated image/video showing this, but it wouldn't really demonstrate the difference between this and doing it the "normal" way, just try it in something like Notepad to see what I mean.

(Note, I'm not sure if you're using an existing UI library which would be responsible for these interactions, if you are then please direct me there so I can suggest it to them instead.)

@Cruor
Copy link
Member

Cruor commented Sep 11, 2024

We use the OlympUI library. Olympus doesn't seem to actually use any menus though, so if anyone is implementing it we are the only ones actually using a nested menu 😅.
What menu item are you frequently using? Adding more hotkeys for convenience is not a problem.

@vrad-exe
Copy link
Author

I'm not even aware of what keybinds there are besides fairly standard ones like open/save/etc. - those really should also be shown in menubar menus but currently aren't. Regardless, that's not really related to what I'm suggesting, the fact is there's a type of interaction for these menus which is missing that is standard for most other software. (You'd be surprised how many unusual things this works in - like Source Engine -tools mode!) Ahorn also supported this behavior.

I'm still not sure if I should keep this issue here or move it to the OlympUI issue tracker, but it sounds like the menu bars are somewhat specific to Lönn so I'll keep it here for now.

The specific behaviors that should be implemented is as follows:

  • Top-level menu bar menus open on mouse down, instead of mouse up as they do currently
  • If the mouse is released while still over the top-level item, the menu will stay open and be clickable normally
  • If the mouse is released while over one of the items in the menu, it will select that item
  • If the mouse is hovered over another top-level menu bar item while still clicking, it will open that menu instead

@Cruor
Copy link
Member

Cruor commented Sep 12, 2024

The menubars are actually specific to OlympUI, we do nothing special about them besides some dynamic generation, but its easier for me to improve them on Lönn's end.
Can't really prioritize this issue though, first time I have heard someone use this and I didn't even know menubars were supposed to work this way before you opened this issue 😓

@Cruor Cruor added the enhancement New feature or request label Sep 12, 2024
@vrad-exe
Copy link
Author

It's fine, just figured I'd make a request so hopefully someone can get to it eventually

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants