Bug 504563

Summary: The bounding box doesn't update automatically for the directory when going one level up
Product: [Applications] dolphin Reporter: Répási Dávid <hu.repasidavid>
Component: bars: locationAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: dolphin-bugs-null
Priority: NOR    
Version First Reported In: 25.04.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: 1-in-the-directory
2-one-level-up-by-default
3-after-clicking-on-it-to-update-it

Description Répási Dávid 2025-05-20 12:48:54 UTC
Created attachment 181563 [details]
1-in-the-directory

SUMMARY

https://invent.kde.org/frameworks/kio/-/merge_requests/1842 introduced a small ui issue:
When going back one level (or even more), the bounding box doesn't automatically discard the dropdown arrows space uptake, it only updates after I click on it. (pictures illustrate it well)

STEPS TO REPRODUCE
1. Open dolphin
2. Go to a subdirectory
3. Go back

OBSERVED RESULT

The space for the dropdown arrow remains for the clickable box even though it is removed

EXPECTED RESULT

Have the bounding box match the width by default

SOFTWARE/OS VERSIONS
Linux: 6.14.6
KDE Plasma Version: 6.3.5
KDE Frameworks Version:  6.14.0
Qt Version: 6.9.0
Wayland: 1.23.1-2
Comment 1 Répási Dávid 2025-05-20 12:49:20 UTC
Created attachment 181564 [details]
2-one-level-up-by-default
Comment 2 Répási Dávid 2025-05-20 12:49:39 UTC
Created attachment 181565 [details]
3-after-clicking-on-it-to-update-it
Comment 3 Répási Dávid 2025-05-22 14:35:54 UTC
The issue does not happen or at least gets reset instantly, when using the buttons and clicking on them to navigate up directories, you have to use mouse buttons or shortcuts to trigger this.