[openbox] Menu where nothing is selected

Ian Zimmerman itz at buug.org
Thu Sep 15 19:56:16 EDT 2011


Alexey>     If the openbox menu called using the keyboard, and the first
Alexey> item of this menu is the normal item, then the first item is
Alexey> selected. However, if the first item - submenu, then no item
Alexey> will be selected. This strange behavior is by design
Alexey> (openbox/menu.c:473):

... code snipped ...

Alexey>     This behavior is strange and inconvenient. I see no reason
Alexey> to submenu has not been chosen. Perhaps this vestige left over
Alexey> from the time when autoopening delay a submenu not applied when
Alexey> using the keyboard.

Alexey>     I propose to replace this strange and complex piece of very
Alexey> simple:

Alexey>             if (!mouse) menu_frame_select_next(frame);

I disagree; I don't want to auto-open the submenu in any case.  Having a
deeply nested submenu suddenly sprawl across your screen is distracting.

Maybe this should be controlled by a configuration item (or attribute of
the menu?)

-- 
Ian Zimmerman
gpg public key: 1024D/C6FF61AD
fingerprint: 66DC D68F 5C1B 4D71 2EE5  BD03 8A00 786C C6FF 61AD
Rule 420: All persons more than eight miles high to leave the court.


More information about the openbox mailing list