Red Hat Bugzilla – Bug 216157
Pressing the "Escape" key in anaconda causes the action associated with the default button to be executed
Last modified: 2007-11-30 17:07:37 EST
Description of problem:
If I press Esc in the textmode installer, it behaves like the
default button was pressed.
Steps to Reproduce:
1. At the boot prompt type "linux text"
2. When the text mode installer shows up press Esc
The installer executes the action associated with the default button i.e.
in most cases it validates the data entered (if any) and moves to the next
I guess the default action for Esc should be "Back".
On which screen in particular?
As I said above:
After the kernel finishes loading, an the first text installer screen appears.
In fact it is not anaconda itself but some pre-anaconda script/app.
This looks like a problem with newt. Line 474 in form.c in the newt source does
/* TEST */ newtFormAddHotKey (co, NEWT_KEY_ESCAPE);
Reading the function, it looks like this line should just be removed.
Reassigning this bug to newt.
F12 key will cause the same problem. Handling return values from newt functions
in anaconda looks like a better solution than disabling all hot keys.
Well, F12 is the key we mention at the bottom of the screen in loader as:
<F12> next screen
So that one should cause the same thing. Since the line above had the comment
TEST next to it, it looked as something that wasn't supposed to be present in newt.
We do check the return values of newt functions when there is one.
newtRunForm() and newtWinMessage() have void return values. We use newtForms
for a lot of things.
Ok, fixed in newt-0.52.5-1.fc7.
This request was evaluated by Red Hat Product Management for
inclusion in a Red Hat Enterprise Linux release. Since this
bugzilla is in a component that is not approved for the current
release, it has been closed with resolution deferred. You may
reopen this bugzilla for consideration in the next release.