grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: menu loop (patch)


From: Carles Pina i Estany
Subject: Re: menu loop (patch)
Date: Sun, 20 Jul 2008 00:06:40 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hello,

On Jul/19/2008, Colin D Bennett wrote:
> On Sat, 19 Jul 2008 17:40:43 +0200
> Robert Millan <address@hidden> wrote:
> 
> > On Thu, Jul 17, 2008 at 11:22:27PM +0200, Carles Pina i Estany wrote:

> > > I'm a Grub user (thanks for your nice work!) and I always wanted to
> > > have a menu that "loops". Like, if you press down and you are in
> > > the last option it goes to the first one, and if you press up but
> > > you are int he first option goes to the last.

[...]

> > What does everyone else think?
> 
> I think that wrapping around the menu with the arrow keys *can* be
> useful in some situations, but in general it seems like we should try
> to be consistent with the common UI behavior that is expected, at
> least by default.  We could support a setting such as "set menuwrap=1"
> which would enable this feature for users who care about it.  Then the
> users who don't care won't miss it, but the users who do care can
> still have it by adding a single line to grub.cfg.

in one way, add an options for this looks a bit like "overkill" (as
Robert said). In the other hand, I have my hopes that distributions
would like it and (mainly) all of them would add this option by default
:-) so could be a nice way to know what some people think.

> > Colin, does this affect your graphical menu work in some way?  I
> > suppose the same situation applies the same way to the upcoming new
> > menu.  Or perhaps this can be made more flexible and be toggled by
> > some CSS magic?
> 
> This would be no problem at all; it's essentially identical to how the
> text mode menu from normal.mod works.  It could go either way, and
> certainly would be easy to make it a setting in the theme file (or more
> likely in a user-configurable place such as grub.cfg (?) -- since we
> might not expect most users to modify theme files but only choose which
> one to use).
> 
> Actually my graphical menu currently *does* wrap around, I guess it

I'm new in this list and in Grub2 (I hvae not used, actually). Are you
saying that there is some graphical menu that does wrap?
I've read some opinions here against wrapping, but if the graphical ones
do it, in my (non-experted) opinion would be nice to have the wrapping
in text and graphic.

> 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.

my workmate wanted it, i wanted and I've spoke with my brother and he
really wanted. But maybe it's because brother-love :-) (this is not
proving anything, of course)

-- 
Carles Pina i Estany            GPG id: 0x8CBDAE64
        http://pinux.info       Manresa - Barcelona




reply via email to

[Prev in Thread] Current Thread [Next in Thread]