menu loop (patch)
"Yoshinori K. Okuji" [[email protected]] kirjoitti:
Quoted 12 lines · On Saturday 19 July 2008 21:58:09 Robert Millan wrote:
Quoted 11 lines · Colin D Bennett
Quoted 2 lines
[...] We could support a setting such as "set menuwrap=1" which would enable this feature for users who care about it.
Isn't this a bit overkill? The time spent adding this config option vastly exceeds any time that could be saved by having or not having menu wrap.
Quoted 3 lines
Actually my graphical menu currently *does* wrap around, I guess it seemed logical to me at the time I wrote the code! 8-) As you can tell, I am not firmly set on either wrapping or not wrapping.
Quoted 5 lines
Quoted 3 lines
Same here.. my concern with taking arbitrary decisions is, when someone comes later and asks to have it reverted, do we accept the request, and otherwise what rationale do we give her? :-)
Personally, I prefer no wrapping, because it is easier for me to use only Up/Down arrow keys, yet locate entries easily. Since I am lazy, I don't want to look for Home or End (some keyboards really suck for them!), so when I just want to jump to somewhere near to the end, I only keep pushing Down, and wait for the cursor to stop. And, this is consistent with Dired mode in Emacs, Directory Listing in VIM, and, of course, with GRUB Legacy.
Hi All,
I also like no wrapping mode. But lets assume we have nice graphical menu with "cylinder" of menu entries that roll when you press key up/down. In here it would be really convenient to have wraparound eg. user cant event think any other way here. But this is something I would put into theme configuration file.
Theme could be also loadable for text menu that describes colours and such. We could default to non-wrapping as that has been our way for long time. If user wants to override this in theme then they are free to do so.
In every case I would prefer that home and end keys would go to always to start and to end of the list. Page up/down would rely a bit for wrapping setting so they can clamp to list edges if needed.
Thanks,
Vesa Jääskeläinen
Hi,
Quoted 3 lines · On Jul/20/2008, [email protected] wrote:
In every case I would prefer that home and end keys would go to always to start and to end of the list. Page up/down would rely a bit for wrapping setting so they can clamp to list edges if needed.
home-end keys (without wrapping) are handled in a patch that I sent yesterday in this thread (20 Jul 2008 00:12:43 +0200). I think that Home-End keys are fine and I hope that everybody agrees :-)
I will also play with PgUp and PgDown soon or later :-)
Signature · 2 lines
Carles Pina i Estany GPG id: 0x8CBDAE64 http://pinux.info Manresa - Barcelona
Quoted 3 lines · On Sun, Jul 20, 2008 at 09:21:47AM +0300, [email protected] wrote:
I also like no wrapping mode. But lets assume we have nice graphical menu with "cylinder" of menu entries that roll when you press key up/down.
Oh my god. Tell me you're not planning to implement OpenGL in GRUB! ;-)
Signature · 5 lines
Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What good is a phone call… if you are unable to speak? (as seen on /.)
Quoted 4 lines · Robert Millan
Quoted 1 line · On Sun, Jul 20, 2008 at 09:21:47AM +0300, [email protected] wrote:
I also like no wrapping mode. But lets assume we have nice graphical menu with "cylinder" of menu entries that roll when you press key up/down.
Oh my god. Tell me you're not planning to implement OpenGL in GRUB! ;-)
Well... OpenGL ES could be cool :)... but no... Cylinder effect with texts always facing to user is really easy to simulate to have 3D look.