Bug 505197

Summary: On small sizes Open in new tab/window context menu offers wrong path
Product: [Applications] dolphin Reporter: witchhunter <witchhunterpro>
Component: bars: locationAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: dolphin-bugs-null, kdedev
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: context menu of the first item in location bar

Description witchhunter 2025-06-04 08:26:53 UTC
Created attachment 182018 [details]
context menu of the first item in location bar

SUMMARY

When path is reduced in location bar due to a limited space, right click context menu on the *first* item of breadcrumb always offers "HOME" or "/" depending weather "Show full path" option is checked. 
Instead it should show/navigate to path of the item clicked.


STEPS TO REPRODUCE
1. Navigate to a long path so it wont fit on current window size
2. Right-click on the first item in location bar
3. The context menu offers navigation to Home or / instead of the clicked path

OBSERVED RESULT
The context menu offers navigation to Home or /

EXPECTED RESULT
The context menu should offer the item's path that is clicked on

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition *and below*
KDE Plasma Version: 6.4.80
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.0
Comment 1 TraceyC 2025-06-09 22:17:37 UTC
The behavior is a little different for me on git-master, but still shows this bug


If I navigate to /home/user/Documents/folder1/folder2 and make the window narrow
Dolphin settings - show full path
Right click shows the "user" folder

Without show full path
Right click shows the "Documents" folder

In both cases it should show the current folder, as when the window is wider and shows the full path