RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1246429 - Quantity number is blocked when changing it by buttons in 'All Available Subscriptions' of subscription-manager-gui.
Summary: Quantity number is blocked when changing it by buttons in 'All Available Subs...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Adrian Likins
QA Contact: John Sefler
Lenka Špačková
URL:
Whiteboard:
Depends On:
Blocks: 1246123 1246125
TreeView+ depends on / blocked
 
Reported: 2015-07-24 10:13 UTC by qianzhan
Modified: 2015-11-19 11:49 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
Buttons for changing quantity of subscriptions incorrectly displayed in subscription-manager-gui Buttons for changing the quantity of subscriptions on the `All Available Subscriptions` tab of the Subscription Manager GUI are displayed incorrectly. As a consequence, users are unable to view the qantity and select the intended value. To work around this problem, use the "subscription-manager attach --pool <pool> --quantity <quantity>" command to attach subscriptions with a specific quantity.
Clone Of:
Environment:
Last Closed: 2015-11-19 11:49:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
quantity_number_is_block_when_changing_it_by_buttons.png (124.12 KB, image/png)
2015-07-24 10:13 UTC, qianzhan
no flags Details
Quantity is now visible (212.39 KB, image/png)
2015-08-25 13:13 UTC, Shwetha Kallesh
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:2122 0 normal SHIPPED_LIVE subscription-manager bug fix and enhancement update 2015-11-19 10:31:14 UTC

Description qianzhan 2015-07-24 10:13:08 UTC
Description of problem:
Quantity number is blocked when changing it by buttons in 'All Available Subscriptions' of subscription-manager-gui.

Version-Release number of selected component (if applicable):
[root@dhcp-128-17 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.2.0.60-Unknown
subscription management rules: 5.16
subscription-manager: 1.15.6-1.el7
python-rhsm: 1.15.3-1.el7

How reproducible:
always

Steps to Reproduce:
1. Register system to satellite.
[root@dhcp-128-17 ~]# subscription-manager register
Username: admin
Password: 
The system has been registered with ID: e94fb37f-1b3d-424b-b1e4-a8c53a11395b 

2. Open subscription-manager-gui=> All Available Subscriptions=> Click Update button.

3. Choose a multientitlement in the available subscription list, and click its quantity. Change the quantity by minus/plus button, the quantity is blocked by the buttons. See attachment 'quantity_number_is_block_when_changing_it_by_buttons.png' 

Actual results:
As step 3.

Expected results:
The quantity should be visible when minus/plus it.

Additional info:

Comment 1 qianzhan 2015-07-24 10:13:35 UTC
Created attachment 1055670 [details]
quantity_number_is_block_when_changing_it_by_buttons.png

Comment 3 John Sefler 2015-07-24 13:39:35 UTC
This is another gtk3 issue that needs to be resolved.

It happens in both the All Available Subscription tab as shown in attachment 1055670 [details] as well as the Contract Selection dialog.

Upon clicking the -/+ spinner for the first time, the following is logged...

[root@jsefler-7 ~]# tail -f /var/log/rhsm/rhsm.log 
2015-07-24 09:27:21,470 [WARNING] subscription-manager-gui:7797 @subscription-manager-gui:213 - /usr/sbin/subscription-manager-gui:213: Warning: g_value_get_int: assertion 'G_VALUE_HOLDS_INT (value)' failed
  sys.exit(ga_Gtk.main() or 0)

Comment 5 qianzhan 2015-08-13 07:27:00 UTC
This bug still exists on RHEL-7.2-20150806.1:
[root@dhcp-128-89 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.2.0.65-Unknown
subscription management rules: 5.16
subscription-manager: 1.15.9-2.el7
python-rhsm: 1.15.4-2.el7

Comment 6 Michael Stead 2015-08-17 17:20:19 UTC
Merged:

https://github.com/candlepin/subscription-manager/pull/1270

Comment 7 Chris "Ceiu" Rog 2015-08-18 14:42:11 UTC
commit 2d40d48152d056517845069e1b618610ead02eb1
Author: Adrian Likins <alikins>
Date:   Fri Aug 14 11:48:01 2015 -0400

    1246429: Stop spinbutton from blocking quantity
    
    The quantity column in the contract selection dialog
    uses a spin button cell renderer to adjust quantity.
    Gtk3 versions expand horizontal instead of vertical,
    causing the column contents to be hidden by the
    spin button.
    
    Set a max/min width on the quantity column so it
    is a fixed width large enough for the spin button. The
    column is not set to expand to avoid it using all
    extra space if the window is widened horizontally.

Comment 9 Shwetha Kallesh 2015-08-25 13:13:38 UTC
Created attachment 1066859 [details]
Quantity is now visible

Marking verified as quantity is now visible

[root@dhcp35-166 ~]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 2.0.6-1
subscription management rules: 5.16
subscription-manager: 1.15.9-7.el7
python-rhsm: 1.15.4-2.el7

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


Note You need to log in before you can comment on or make changes to this bug.