Red Hat Satellite engineering is moving the tracking of its product development work on Satellite 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 "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. 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 "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-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 2168866 - [RFE] Add line breaks to bookmarks if the name is too long
Summary: [RFE] Add line breaks to bookmarks if the name is too long
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Search
Version: 6.13.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 6.15.0
Assignee: kmalyjur
QA Contact: Pavel Novotny
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-10 10:30 UTC by Adam Ruzicka
Modified: 2024-04-23 17:13 UTC (History)
2 users (show)

Fixed In Version: foreman-3.8.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-04-23 17:13:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Bookmark picker with long bookmark name (48.80 KB, image/png)
2023-02-10 10:30 UTC, Adam Ruzicka
no flags Details
Fixed bookmark picker with long bookmark name (61.75 KB, image/png)
2024-01-17 13:07 UTC, Pavel Novotny
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36350 0 Normal Ready For Testing Add line breaks to bookmarks if the name is too long 2023-08-25 10:35:47 UTC
Red Hat Bugzilla 1990790 0 unspecified CLOSED [RFE] add possibility to resize bookmarks dropdown menu 2024-05-21 09:58:57 UTC
Red Hat Issue Tracker SAT-18349 0 None None None 2023-06-13 12:23:08 UTC
Red Hat Product Errata RHSA-2024:2010 0 None None None 2024-04-23 17:13:38 UTC

Description Adam Ruzicka 2023-02-10 10:30:17 UTC
Created attachment 1943299 [details]
Bookmark picker with long bookmark name

A followup on https://bugzilla.redhat.com/show_bug.cgi?id=1990790

Description of problem:
The dropdown now does stretch with long names, but I wonder if we should also break the line once it reaches certain size (as it is in katello-style bookmark dropdowns). Really long names make the dropdown overflow the page (see attached screenshot)

Version-Release number of selected component (if applicable):
6.13

How reproducible:
always


Steps to Reproduce:
1. Create a bookmark with a really long name
2. Open a bookmark selector

Actual results:
The bookmark picker gets really wide


Expected results:
The bookmark picker's width is capped at a sensible width, line breaks are inserted into the names.

Comment 1 Adam Ruzicka 2023-02-10 10:32:00 UTC
An alternative would be limiting length of bookmark names. I'd be glad if we could fix this in the ui itself, limiting something that was previously unlimited could prove troublesome. Also, it could still be an issue for people with tiny screens

Comment 2 kmalyjur 2023-07-13 10:25:41 UTC
Connecting redmine issue https://projects.theforeman.org/issues/36350 from this bug

Comment 3 Pavel Novotny 2024-01-17 13:06:15 UTC
Verified in Satellite 6.15 snap 6:
satellite-6.15.0-2.el8sat.noarch
foreman-3.9.1.2-1.el8sat.noarch

Long bookmark names how have hard line breaks, even if it doesn't contain any white space.
See the attached screenshot for more details.

Comment 4 Pavel Novotny 2024-01-17 13:07:17 UTC
Created attachment 2008998 [details]
Fixed bookmark picker with long bookmark name

Comment 7 errata-xmlrpc 2024-04-23 17:13:37 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 (Important: Satellite 6.15.0 release), 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://access.redhat.com/errata/RHSA-2024:2010


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