Bug 2168866

Summary: [RFE] Add line breaks to bookmarks if the name is too long
Product: Red Hat Satellite Reporter: Adam Ruzicka <aruzicka>
Component: SearchAssignee: kmalyjur
Status: CLOSED ERRATA QA Contact: Pavel Novotny <pnovotny>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.13.0CC: kmalyjur, magaphon
Target Milestone: 6.15.0Keywords: FutureFeature
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: foreman-3.8.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-04-23 17:13:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Bookmark picker with long bookmark name
none
Fixed bookmark picker with long bookmark name none

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