Bug 469721

Summary: Status bar selected item description appears on two lines
Product: [Applications] dolphin Reporter: esperluette08
Component: bars: statusAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kfm-devel
Priority: NOR    
Version: 23.04.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: The problem from VM with Neon Live

Description esperluette08 2023-05-14 00:42:33 UTC
Created attachment 158922 [details]
The problem from VM with Neon Live

SUMMARY
When resizing a Dolphin window, the selected item/current folder description label appears on two lines for a specific window width.

STEPS TO REPRODUCE
1. Open a new Dolphin window 
2. Select an item (to have a description long enough), like the Desktop icon
3. Reduce the window (by ~20px) horizontally, after the "Desktop (folder) ~~~ Zoom:" interspace is small enough to show ellipsis on the label

OBSERVED RESULT
The description label goes on two lines, like"Desktop\n(folder)" and is clipped. (See screenshot.)

EXPECTED RESULT
The ellipsis ("Deskto...older)") should be shown, just like when the window is reduced further

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Neon Live (20230504-0714)
(available in About System)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION
Tested on VM with Boxes, but also can be reproduced with VirtualBox, and also Manjaro

Can be a duplicate of https://bugs.kde.org/show_bug.cgi?id=415345