Red Hat Bugzilla – Bug 1268095
The 'Select Service Level' screen's scrolled radio buttons partially hides options.
Last modified: 2015-11-19 06:51:15 EST
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):
Register and go to "Select Service Level' screen, especially if you have an account with 5 or 6 service levels.
upstream pr at https://github.com/candlepin/subscription-manager/pull/1315
deferring to rhel-7.3.0 due to severity and time schedule remaining for rhel-7.2.0
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
Author: Adrian Likins <email@example.com>
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
To alleviate some of those issues, replace the box of radio
buttons with a Gtk.ComboBox.
In upstream master as of the above commit.
Created attachment 1082099 [details]
Select Service Level dialog that uses a combobox
[root@jsefler-7 ~]# rpm -q subscription-manager-gui
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
Status: Not Subscribed
Status Details: Not supported by a valid subscription.
See attached screenshot showing the combobox used to select a service level after clicking "Auto-attach" in subscription-manager-gui
Created attachment 1082102 [details]
Select Service Level panel that uses a combobox
[root@jsefler-7 ~]# rpm -q subscription-manager-initial-setup-addon
See attachment with subscription-manager-initial-setup-addon showing the new combobox for selecting a common service-level.
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.