Bug 501581

Summary: New address bar: Different widths depending on the path
Product: [Frameworks and Libraries] frameworks-kio Reporter: postix <postix>
Component: URL navigatorAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: normal CC: akselmo, kdelibs-bugs, nate
Priority: NOR    
Version: 6.12.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot: blue lines drawn over for orientation

Description postix 2025-03-16 15:21:04 UTC
Created attachment 179459 [details]
Screenshot: blue lines drawn over for orientation

SUMMARY

Please see the screenshot:

The sizes of the "clickable folder buttons" vary, depending on the path, even if both addresses share the same paths up to the last folder and there's sufficient space in the address bar for displaying.

In once case the | is drawn 2 pixels wide instead of 1.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.13.7-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Dolphin 24.12.3
Scaling: 1.25
Comment 1 Nate Graham 2025-03-21 18:06:09 UTC
Didn't the old one do this too? The URL bar has some very complicated code to compress things when space becomes limited, in the interests of avoiding eliding items as long as possible.
Comment 2 postix 2025-03-21 18:39:05 UTC
> Didn't the old one do this too? 
Might have been the case, unfortunately I can't easily go back now to check. :)

(In reply to Nate Graham from comment #1)
>  The URL bar has some very complicated code to compress things when space becomes limited

I don't know about the current state in the latest MR, but if you look at the screenshot, I've experienced quiet the opposite:
The address-bar occupied the same space, but the margins were bigger for the longer path.