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 1268095 - The 'Select Service Level' screen's scrolled radio buttons partially hides options.
Summary: The 'Select Service Level' screen's scrolled radio buttons partially hides op...
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
medium
low
Target Milestone: rc
: ---
Assignee: John Sefler
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-01 19:47 UTC by Adrian Likins
Modified: 2015-11-19 11:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-19 11:51:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Select Service Level dialog that uses a combobox (46.26 KB, image/png)
2015-10-12 19:14 UTC, John Sefler
no flags Details
Select Service Level panel that uses a combobox (73.86 KB, image/jpeg)
2015-10-12 19:42 UTC, John Sefler
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 Adrian Likins 2015-10-01 19:47:39 UTC
Description of problem:

On the Select Service Level screen in registergui, the input widget
for picking the sla is a group of radio buttons.

But there can potentially be a several available service levels, and
when the group gets too large, it becomes a scrollable window.

With the default gtk themes, it is non obvious it is a scrollable window,
so items off screen can be easy to miss.

Scrollable windows and viewports also present a layout headache because
they have very complicated size requesting code. The rule of thumb is
'pick a reasonable default and guess', but in our cases the window the
widget is in can be as small as ~300x400, or as large as full screen,
so there is no reasonable default.

Picking a default too large causes the entire RegisterWidget to request a huge
size and causes lots of awkward empty spaces on some screens.

Version-Release number of selected component (if applicable):
subscription-manager-1.15.9-13

reproducible:
Register and go to "Select Service Level' screen, especially if you have an account with 5 or 6 service levels.

Comment 1 Adrian Likins 2015-10-01 19:56:37 UTC
upstream pr at https://github.com/candlepin/subscription-manager/pull/1315

Comment 3 John Sefler 2015-10-02 15:03:26 UTC
deferring to rhel-7.3.0 due to severity and time schedule remaining for rhel-7.2.0

Comment 4 John Sefler 2015-10-02 15:54:48 UTC
Upon further review, the pull request in comment 1 employs a combobox for choosing a common service which will adequately solve the problem of out-of-view service levels in the scrollable radio button list.  Moreover, the use of a combobox in this workflow is more consistent with the existing use of a combobox in the preferences dialog.

Moving back to rhel-7.2.0

Comment 6 Chris Snyder 2015-10-06 18:29:26 UTC
commit 843153a81d23ce1c4f05a7771d475abda6dbefae
Author: Adrian Likins <alikins>
Date:   Thu Oct 1 14:25:11 2015 -0400

    1268095: Replace SLA radio buttons w/ combobox
    
    The box of Gtk.RadioButton widgets on SelectSLAScreen
    causes an assortment of odd behavior.
    
    Most notably, it sometimes obscures some of the available
    options by having them in offscreen areas of a scrollwindow.
    With default themes, it is not very obvious there is an option
    to scroll and see other radio buttons.
    
    The scrolled window was originally added to handle cases where
    there is a large number of options, and a Gtk.Box of radio buttons
    would cause all sorts of layout issues. Especially when the
    register widgets window is a small fixed size (RHEL6 firstboot
    for example).
    
    To alleviate some of those issues, replace the box of radio
    buttons with a Gtk.ComboBox.

In upstream master as of the above commit.

Comment 9 John Sefler 2015-10-12 19:14:26 UTC
Created attachment 1082099 [details]
Select Service Level dialog that uses a combobox

Verifying Version...
[root@jsefler-7 ~]# rpm -q subscription-manager-gui
subscription-manager-gui-1.15.9-14.el7.x86_64

Testing against an onpremise candlepin server with TESTDATA deployed...

[root@jsefler-7 ~]# subscription-manager list --installed

+-------------------------------------------+
    Installed Product Status
+-------------------------------------------+
Product Name:   Awesome OS Server Bits
Product ID:     37060
Version:        6.1
Arch:           ALL
Status:         Not Subscribed
Status Details: Not supported by a valid subscription.
Starts:         
Ends:   

See attached screenshot showing the combobox used to select a service level after clicking "Auto-attach" in subscription-manager-gui

Comment 10 John Sefler 2015-10-12 19:42:27 UTC
Created attachment 1082102 [details]
Select Service Level panel that uses a combobox

Verifying Version...
[root@jsefler-7 ~]# rpm -q subscription-manager-initial-setup-addon 
subscription-manager-initial-setup-addon-1.15.9-14.el7.x86_64

See attachment with subscription-manager-initial-setup-addon showing the new combobox for selecting a common service-level.

Comment 11 errata-xmlrpc 2015-11-19 11:51: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


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