[vdr] Same key does different things: confusing

Luca Olivetti luca at ventoso.org
Sat Aug 27 10:56:45 CEST 2005

This is something that has nagged me for a while, but since I though 
it's not that important I never complained.
When there's a submenu open the "Menu" key turns off the menu and the 
"Back" key goes back to the main menu.
However if a plugin implements the osd as cOsdObject the same keys do 
the reverse: the "Menu" key goes back to the main menu and the "Back" 
key turns off the menu.
Since conceptually (I mean, that's what the user sees on screen) the 
plugin osd is a submenu of the main menu (even if it isn't a cOsdMenu 
derivative) this difference in behaviour is confusing.
At first I though I did something wrong in my plugins, but then I saw 
that other plugins do the same (unless their osd is derived from 
cOsdMenu) I looked at the menu code and it seems that's how things are 
supposed to work.
Wouldn't it be possible to change that to make the same key do the same 
action regardless if the plugin uses cOsdObject or cOsdMenu?

- Yo también quiero una Europa libre de Patentes de Software  -
- I want a Software Patents Free Europe too! And you?         -
   EuropeSwPatentFree - http://EuropeSwPatentFree.hispalinux.es
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://www.linuxtv.org/pipermail/vdr/attachments/20050827/82fe9569/signature.pgp

More information about the vdr mailing list