Description of problem:
Can't press "create" button via keyboard when create network on p2v client
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Boot host from virt-p2v iso.
2. Select"Configure network ..." to enter network configure menu after the p2v GUI appear
3. Click "Add" to enter Choose Connection Type menu
4. Select a network (for example: Ethernet)
5. Move the select box to "Create" button using tab keypad of keyboard (do not using mouse)
6. Can't enter into create network interface via Press Enter keypad of keyboard
Can't press "create" button via keyboard
It's can be press "create "button success via keyboard
1.Can be into the create network interface successful via mouse
2.it's can be reproduced on virt-p2v-1.28.1-1.51.3
please see the attachment for detail
Created attachment 1161383 [details]
As the screenshot,try to press enter keypad to into network interface
I can reproduce this on Fedora 24 too. When you tab to highlight
the "Create" button and hit the enter key, the "Cancel" button gets
(In reply to Richard W.M. Jones from comment #3)
> I can reproduce this on Fedora 24 too. When you tab to highlight
> the "Create" button and hit the enter key, the "Cancel" button gets
that doesn't happen for me. Could you elaborate a bit more what you are doing? Exactly which version of nm-connection-editor are you using?
Also, the button is named "Save" not "Create"...
Click the Add button.
Using the *keyboard* (not mouse) tab to Create.
The cancel button is activated.
$ rpm -qf `which nm-connection-editor `
Thanks Richard, I see now.
It seems in GTK, "Enter" selects the default action of the dialog (which is "Cancel"). Probably, the default action should be "Create" instead.
To invoke the currently selected item, use "Space" instead. I think this is a GTK thing and that works for me as expected.
Created attachment 1176169 [details]
[patch v1] c-e: don't set the Cancel's button in "Add connection" dialog has_default
(In reply to Thomas Haller from comment #9)
> Created attachment 1176169 [details]
> [patch v1] c-e: don't set the Cancel's button in "Add connection" dialog
merged upstream: https://git.gnome.org/browse/network-manager-applet/commit/?id=e37e9bc12971a8740d5b451db360b36cf04b3c1f
Create button works as expected
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.