Bug 501706

Summary: Padding issue
Product: [Frameworks and Libraries] frameworks-kio Reporter: Damglador <vse.stopchanskyi>
Component: URL navigatorAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kdelibs-bugs-null, nate
Priority: NOR    
Version First Reported In: 6.10.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 6.14
Sentry Crash Report:
Attachments: Before
After

Description Damglador 2025-03-18 21:02:28 UTC
Created attachment 179550 [details]
Before

SUMMARY
Padding of .. changes if I click on . directory (just check screenshots)

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Damglador 2025-03-18 21:07:00 UTC
Oops, didn't expect it to send the whole bug report.

ATTACHMENT DESCRIPTIONS
Before - I navigated to a directory from the manager
After - I clicked on the current directory from URL bar

STEPS TO REPRODUCE
1. Go to some directory
2. Click in URL bar on the current directory (or on the current directory from dropdown of the last directory

OBSERVED RESULT
Space between the name of the last directory (in my case, resources) and spacer to Sprites gets a bit smaller

EXPECTED RESULT
That shouldn't happen

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2
Kernel Version: 6.13.7-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600H with Radeon Graphics
Memory: 13.5 GiB of RAM
Graphics Processor 1: AMD Radeon Graphics
Graphics Processor 2: NVIDIA GeForce RTX 3060 Laptop GPU

ADDITIONAL INFORMATION
Started happening after URL bar got the new design
Comment 2 Damglador 2025-03-18 21:07:48 UTC
Created attachment 179553 [details]
After
Comment 3 Damglador 2025-03-18 21:11:37 UTC
According to my measurements in Gwenview it shifted for one pixel
Comment 4 Nate Graham 2025-03-21 18:10:31 UTC
Can confirm, and will be fixed by https://invent.kde.org/frameworks/kio/-/merge_requests/1842.
Comment 5 Akseli Lahtinen 2025-04-04 20:01:13 UTC
Git commit 7067680d23229b80dd92d837ee129e987ba875e7 by Akseli Lahtinen.
Committed on 04/04/2025 at 20:00.
Pushed by akselmo into branch 'master'.

KUrlNavigatorButton: Use arrow as separators

Due to the feedback of regular separator not being good enough for
separating folders, use an arrow separator instead.

This also refactors bunch of code around the button, so it should
be easier to tweak over time.

Remove icons due to the added clutter. They would work with full height chevrons but those are not technically feasible at this time.
Related: bug 501587, bug 501575, bug 501582, bug 501589, bug 501803
FIXED-IN: 6.14

M  +38   -20   src/filewidgets/kurlnavigator.cpp
M  +15   -0    src/filewidgets/kurlnavigator.h
M  +75   -70   src/filewidgets/kurlnavigatorbutton.cpp
M  +5    -3    src/filewidgets/kurlnavigatorbutton_p.h
M  +10   -14   src/filewidgets/kurlnavigatorbuttonbase.cpp
M  +1    -1    src/filewidgets/kurlnavigatortogglebutton.cpp

https://invent.kde.org/frameworks/kio/-/commit/7067680d23229b80dd92d837ee129e987ba875e7