Bug 4619 - unintuitive exit sequence in menuconfig
Summary: unintuitive exit sequence in menuconfig
Status: CLOSED CODE_FIX
Alias: None
Product: Other
Classification: Unclassified
Component: Configuration (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Sam Ravnborg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-12 04:54 UTC by richlv
Modified: 2006-10-08 12:28 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.11.9
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description richlv 2005-05-12 04:54:09 UTC
when using menuconfig to configure kernel, usually esc button is used to move 
one level up.

in some cases with slow machines (this action is surprisingly slow) or over slow 
network it happens that esc is pressed repeatedly.

when esc is pressed at the top level, a dialog asking wether kernel 
configuration should be saved is presented.
the problem is, if at this moment esc is pressed, menuconfig just quits and no 
configuration is saved.

also it's more reasonable to assume that esc at this moment would just dismiss 
this dalog and allow further editing.

proposition: when esc is pressed at confirmation dialog, dismiss that dialog and 
leave user in menuconfig.
Comment 1 Diego Calleja 2006-01-05 04:24:18 UTC
The way of getting one level up is to move to "exit" with the "->" key, not
pressing escape.
Comment 2 Sam Ravnborg 2006-08-04 01:36:57 UTC
In my lxdialog tree when pressing <ESC><ESC> on final dialog will get you back
to the menu.
Pressing a single <ESC> does not have any effect.

The timeout that you see happens because ncurses used <ESC> to decide if a meta
character has been pressed. This timeout has been removed in the lxdialog tree too.

The lxdialog tree can be found at:
www.kernel.org/git

This bug will be kept open until this is in mainline - that will not happen
until 2.6.19.
Comment 3 Sam Ravnborg 2006-10-08 12:28:08 UTC
Fix is now in mainline - closed.

Note You need to log in before you can comment on or make changes to this bug.