Bug 1243260

Summary: Red Hat Enterprise Linux 7.2 can not input "Proxy Location", "Proxy Username" button.
Product: Red Hat Enterprise Linux 7 Reporter: dazhang <dazhang>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED ERRATA QA Contact: John Sefler <jsefler>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.2CC: alikins, crog, hsun, jsefler, ldai, qianzhan, skallesh
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 11:49:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1246123    
Attachments:
Description Flags
can not input "Proxy Location"and "Proxy Username" button.
none
Proxy config window of GUI
none
'editboxes_not_available_to_use.png'
none
Proxy dialogue none

Description dazhang 2015-07-15 05:54:16 UTC
Created attachment 1052195 [details]
can not input "Proxy Location"and "Proxy Username" button.

Description of problem:

When configuring the proxy, can not input "Proxy Location"and "Proxy Username" button.


Version-Release number of selected component (if applicable):
subscription-manager-gui-1.15.5-1.el7.x86_64
subscription-manager-1.15.5-1.el7.x86_64
python-rhsm-1.15.3-1.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1.# subscription-manager-gui

2.Click "Proxy Configuration" button.

3.Input "Proxy Location"and "Proxy Username"


Actual results:
1.After step1, the subscription-manager GUI is opened.

2.After step2, the "Advanced Network Configuration" dialog pops up.

3.can not input "Proxy Location"and "Proxy Username" button.

Expected results:
1.After step1, the subscription-manager GUI is opened.

2.After step2, the "Advanced Network Configuration" dialog pops up.

3.No error prompts.

Additional info:

Comment 4 Adrian Likins 2015-07-29 20:33:34 UTC
Looks like the method that sets the state of the buttons was confused about which buttons were which. The widget.get_name() used there changed meaning a bit in newer gtk versions (or more accurately, the behaviour of the widgets created with glade [old gtk2] vs Gtk.Builder [slightly less old gtk] changed). 

Fix is just to set the widgets name to the Builder xml widget id, patch forthcoming.

Comment 5 Adrian Likins 2015-07-29 20:34:22 UTC
*** Bug 1243730 has been marked as a duplicate of this bug. ***

Comment 6 Adrian Likins 2015-07-29 20:34:36 UTC
*** Bug 1241192 has been marked as a duplicate of this bug. ***

Comment 7 Adrian Likins 2015-07-29 20:35:52 UTC
1241192 mentions initial-setup specifically, but the bug applies to the regular gui as well.

Comment 8 Adrian Likins 2015-07-30 13:53:03 UTC
pr at https://github.com/candlepin/subscription-manager/pull/1236

Comment 9 Chris "Ceiu" Rog 2015-07-31 19:35:30 UTC
commit b4e42d726014039ca2f37babfe418753fd8236e4
Author: Adrian Likins <alikins>
Date:   Thu Jul 30 09:26:27 2015 -0400

    1243260: Make proxy config dialog work.
    
    The behaviour of widget.get_names() isn't neccasarily
    the same name used for the widget/object 'id' in the
    ui builder xml. And with Gtk.Builder, it usually
    is not.
    
    The proxy dialog init would try to set the state of the
    dialog based on the widget names, but would fail because
    of above mentioned change. So the state of the buttons
    is incorrect.
    
    To fix it, widgets.SubManBaseWidget's pull_widget() method
    was changed to set the expected widget name, as well as
    to elevate the widget name to the objects attributes.

Comment 11 Shwetha Kallesh 2015-08-06 06:57:16 UTC
Created attachment 1059731 [details]
Proxy config window of GUI

Marking verified as user can input proxy user and proxy password

Comment 12 qianzhan 2015-08-06 11:15:34 UTC
Verifying version:
subscription-manager: 1.15.9-2.el7
python-rhsm: 1.15.4-2.el7

These editboxes are still not writeable. Please see attachment 'editboxes_not_available_to_use.png'

Moving the bug from ON_QA to ASSIGNED.

Comment 13 qianzhan 2015-08-06 11:15:55 UTC
Created attachment 1059845 [details]
'editboxes_not_available_to_use.png'

Comment 14 Shwetha Kallesh 2015-08-06 11:20:34 UTC
Created attachment 1059849 [details]
Proxy dialogue

qianqian ,

its fixed in the version 

subscription-manager: 1.15.9-3.el7
python-rhsm: 1.15.4-2.el7

P.S attachment for the same

Comment 15 errata-xmlrpc 2015-11-19 11:49:15 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.

https://rhn.redhat.com/errata/RHBA-2015-2122.html

Comment 16 Rehana 2020-12-11 10:14:26 UTC
*** Bug 1250348 has been marked as a duplicate of this bug. ***