Bug 512816

Summary: Location bar cuts off first and last character of short folder names
Product: [Applications] dolphin Reporter: Luna Shockley <lunashockley9>
Component: bars: locationAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: dolphin-bugs-null
Priority: NOR    
Version First Reported In: 25.08.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Exhibited behavior
Expected behavior

Description Luna Shockley 2025-11-30 21:54:22 UTC
Created attachment 187276 [details]
Exhibited behavior

SUMMARY
The Dolphin folder location bar will cut off the first character of a folder name in some circumstances. I've been able to reproduce this in cases where a folder name is long enough to be truncated in the path and another folder afterwards in the same path has three characters in its name.

The path used in this example is /home/____/Insync/_________________________/Google Drive/OCs/Daroma/

The first redacted folder name in this instance is four characters long. The second one is twenty-five characters long.

STEPS TO REPRODUCE
1. Navigate to a path with at least one long file name that will be truncated and ending in a folder name exactly three characters long.
2. Navigate to a subfolder within this path with a longer name.

OBSERVED RESULT
In the breadcrumb trail in the location bar, the parent folder's first and last character will not be visible. Navigating back and forth to a subfolder from the path using the back buttons sometimes allows the folder path to show normally.

EXPECTED RESULT
Folder name is not truncated in this way.

SOFTWARE/OS VERSIONS
Comment 1 Luna Shockley 2025-11-30 21:54:54 UTC
Created attachment 187277 [details]
Expected behavior
Comment 2 Luna Shockley 2025-11-30 21:56:17 UTC
System information:

Operating System: openSUSE Tumbleweed 20251127
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.1
Kernel Version: 6.17.9-1-default (64-bit)
Graphics Platform: Wayland