Bug 696585

Summary: Network manager "Connect" button not default
Product: Red Hat Enterprise Linux 6 Reporter: Harald Milz <hmilz>
Component: NetworkManagerAssignee: Dan Williams <dcbw>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.0CC: jklimes, msvoboda, tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When attempting to connect to a WLAN (Wireless Local Area Network), after providing credentials in NetworkManager's dialog box and pressing the Enter key, the dialog box remained open and nothing happened. This was caused by the Connect button not being selected in the dialog box because it was not marked as default in the code. However, clicking the Connect button with the mouse worked as expected, and the wireless connection could be established. This update ensures the Connect button is selected as the default button, enabling quick and intuitive WLAN connections.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 15:20:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
patch to make Enter the default button for password entries none

Description Harald Milz 2011-04-14 11:00:34 UTC
Description of problem:

In RHEL6.0 Workstation, when entering the WLAN network credentials in the mask (see attached screenshot) the "Connect" button is not configured as the default button so that you cannot just hit "Enter" after entering the network key. 

Version-Release number of selected component (if applicable):

NetworkManager-gnome-0.8.1-5.el6_0.1.x86_64


How reproducible:

always

Steps to Reproduce:
1. activate laptop's WLAN
2. click NetworkManager icon and click to connect to encrypted WLAN
3. said window comes up, enter WLAN key and hit "Enter"
  
Actual results:

Nothing happens.

Expected results:

Should connect to WLAN. 

Additional info:

Comment 4 Dan Williams 2011-06-14 23:35:44 UTC
The fix here (as 70ae3f5f54219e9876133d87069e126b63e3cc8a upstream on the NMA_0_8 branch) is to make sure that all GtkEntries in src/wireless-security items have the property for "activates-default" be TRUE.  It'll take a bit of work to backport since upstream now uses GtkBuilder instead of glade but is not hard to do.

Comment 5 RHEL Program Management 2011-06-14 23:49:51 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 7 Jirka Klimes 2011-06-27 07:59:29 UTC
Created attachment 510034 [details]
patch to make Enter the default button for password entries


This is the backported patch for RHEL 6.
You can easily use/test that by patching your /usr/share/nm-applet/applet.glade file.

Comment 9 Miroslav Svoboda 2011-08-30 10:21:43 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
When attempting to connect to a WLAN (Wireless Local Area Network), after providing credentials in NetworkManager's dialog box and pressing the Enter key, the dialog box remained open and nothing happened. This was caused by the Connect button not being selected in the dialog box because it was not marked as default in the code. However, clicking the Connect button with the mouse worked as expected, and the wireless connection could be established. This update ensures the Connect button is selected as the default button, enabling quick and intuitive WLAN connections.

Comment 11 errata-xmlrpc 2011-12-06 15:20:36 UTC
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.

http://rhn.redhat.com/errata/RHBA-2011-1632.html