Bug 499993

Summary: 'Make location bar editable' turns off full path display when disabling it
Product: [Applications] dolphin Reporter: thisemailisathrowaway
Component: bars: locationAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: kfm-devel, p.r.worrall
Priority: NOR    
Version First Reported In: 24.12.2   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description thisemailisathrowaway 2025-02-13 15:13:17 UTC
SUMMARY
If you have 'Show full path inside location bar' enabled, it will correctly display the full path at the top of the bar. For example, it will display '/ > home > me > Documents'. When I enable 'Make location bar editable', it correctly shows '/home/me/Documents'. However, when I disable 'Make location bar editable' while 'Show full path inside location bar' is still on, it now reads '/ > Documents'. Thus, I need to turn 'Show full path inside location bar' off and then back on again to restore that functionality.

STEPS TO REPRODUCE
1. Enable 'Show full path inside location bar'.
2. Enable 'Make location bar editable'.
3. Disable 'Make location bar editable'.

OBSERVED RESULT
The full path is no longer shown despite the fact that I have not disabled 'Show full path inside location bar'.

EXPECTED RESULT
The full path should continue to be shown because I still have that option enabled.

SOFTWARE/OS VERSIONS
Linux: Kernel 6.12.13-2-MANJARO (64-bit)
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Comment 1 thisemailisathrowaway 2025-02-13 16:40:10 UTC
I'm wondering on line 1139 of dolphinmainwindow.cpp if we should check that the full path action is enabled, then if the UrlEditable action isn't checked, we can set urlNavigator->showFullPath depending on that QAction. I'm going to try that and PR if it works.
Comment 2 thisemailisathrowaway 2025-02-13 17:11:46 UTC
I forgot to state as well that navigating to a new directory also fixes the issue. So still a bug, but more minor than I initially thought.