[openbox] client list with submenus

Alexey Korop akorop at gmail.com
Fri Jan 28 10:16:45 EST 2011


Dana Jansens wrote on 25.01.2011 18:42:

>>     But 4th type exist also: the default item of the submenu. I mark a
>> default item by the "dimond" at the LEFT of the bar, and only this mark type
>> may (in theory) to conflict with the icon. But in fact there is no
>> concflicts.
>>     For example, here (http://fit.kharkiv.org/openbox/client-list1.gif) the
>> "Activate" item is a default item of a "Calculator" submenu. This action
>> have no icon.
>
> Oh I see. So there's a fourth type: A default item which is a submenu
> that has a default of its own.  Then I suggest we make the default
> menu items designated by their font rather than an icon, and let the
> user set that font in their rc.xml as they do the standard menu item
> font.  By default we can make it bold and the regular font normal
> weight.  A user could instead choose to underline or italicize or
> whatever they like.
     Mark the default item of a submenu with a font - it's much less 
clear than to mark it with the same symbol as the parent menu item. I 
have a very simple proposition: to mark the default item as I make now, 
but to place this mark not in tha same vertical field with the icons, 
but in the its own vertical field.
     Menu item bar in this case will have the following structure (left 
to right):
     - special mark (optional);
     - icon (optional);
     - text (obligatory);
     - submenu mark (optional).
     Place for each field will be allocated only if at least one element 
for which this field is not empty is actually present in this submenu.

     About "special marks". Today there is only one element of this type 
- a default item mark. But in future, other elements may appear, for 
example check mark, as in most other menu systems.

     Your opinion?

Yours truly Alexey


More information about the openbox mailing list