[syslinux] Final line of menu selectable even if it is disabled

Matt Sephton matt.sephton at gmail.com
Thu Sep 6 14:53:25 PDT 2012


On 6 Sep 2012, at 22:45, Gene Cumm <gene.cumm at gmail.com> wrote:

> On Sep 5, 2012 6:50 AM, "Matt Sephton" <matt.sephton at gmail.com> wrote:
>> 
>> I have a menu conf as follows:
>> 
>> LABEL enabled, use as item
>> LABEL disabled, use as description
>> SEPARATOR
>> LABEL enabled, use as item
>> LABEL disabled, use as description
>> 
>> In this situation, I expect the cursors to be able to select from only
> the two enabled lines.
>> 
>> However, the final disabled line is also selectable.
>> 
>> Even if I put a final separator and/or disabled label the final line of
> the menu is still selectable.
>> 
>> Full conf: http://pastebin.com/U6zQVbt6
>> 
>> So there seems to be an edge case scenario that means the final line of a
> menu is selectable when it should not be.
>> 
>> Any thoughts?
>> 
>> matt
> 
> I presume that when you add one more LABEL at the end, the LABEL that's
> currently at the end is no longer selectable?

Correct, the newly added label that would be the new bottom one will be able to be navigated to (or as you say "selectable"). But as mentioned earlier it can not be actioned with Enter etc.   



More information about the Syslinux mailing list