Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Created attachment 1139443[details]
rhn_register GUI with long Satellite server DNS name
Description of problem:
When registering to a Satellite server with a long DNS name, wrapping of info text above the login/password fields is rather strange. See the attached screenshot.
Version-Release number of selected component (if applicable):
rhn_register (Red Hat Network Client Tools) 1.0.0.1-38.el6
How reproducible:
Always
Steps to Reproduce:
1.
2.
3.
Run a registration against a long-named Sat server
Actual results:
Server name and info text is badly wrapped
Expected results:
Server name and info text should be either on one line or on two well separated lines
Additional info:
Comment 5Gennadii Altukhov
2016-10-25 11:20:00 UTC
I have played a little bit with this bug and I always can find a length of hostname when the label will format ugly.
To test this bug we can change method "loginPagePrepare(self)" in class "LoginPage" in file /usr/share/rhn/up2date_client/rhnregGui.py.
1) in the following line change "host" to some string:
satelliteText = _("Please enter your account information for the <b>%s</b> Red Hat Network Satellite:") % host
2) right after previous line add new one:
instructionsLabel.set_justify(gtk.JUSTIFY_CENTER)
see http://www.pygtk.org/pygtk2reference/class-gtklabel.html for details.
I tried to change justification, wrap hostname into '\n', but in all cases, I was able to find hostname when label looks ugly.
Comment 6Gennadii Altukhov
2016-10-25 13:45:42 UTC
Added newline before hostname. In this case, only labels with very long hostname look ugly.
spacewalk.git:
bf82ce95e5c2acdc0ad2fcbfd17a140e99c9afe6
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-2017-0736.html
Created attachment 1139443 [details] rhn_register GUI with long Satellite server DNS name Description of problem: When registering to a Satellite server with a long DNS name, wrapping of info text above the login/password fields is rather strange. See the attached screenshot. Version-Release number of selected component (if applicable): rhn_register (Red Hat Network Client Tools) 1.0.0.1-38.el6 How reproducible: Always Steps to Reproduce: 1. 2. 3. Run a registration against a long-named Sat server Actual results: Server name and info text is badly wrapped Expected results: Server name and info text should be either on one line or on two well separated lines Additional info: