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-manager | Assignee: | candlepin-bugs | ||||||||||
Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> | ||||||||||
Severity: | medium | Docs Contact: | |||||||||||
Priority: | unspecified | ||||||||||||
Version: | 7.2 | CC: | alikins, crog, hsun, jsefler, ldai, qianzhan, skallesh | ||||||||||
Target Milestone: | rc | Keywords: | 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: |
|
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. *** Bug 1243730 has been marked as a duplicate of this bug. *** *** Bug 1241192 has been marked as a duplicate of this bug. *** 1241192 mentions initial-setup specifically, but the bug applies to the regular gui as well. 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. Created attachment 1059731 [details]
Proxy config window of GUI
Marking verified as user can input proxy user and proxy password
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. Created attachment 1059845 [details]
'editboxes_not_available_to_use.png'
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
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 *** Bug 1250348 has been marked as a duplicate of this bug. *** |
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: