Bug 456596

Summary: Location bar fills automatically based on recently viewed directories, directories sharing subsequent letters will have the capitalization changed to the suggestion from "recent"
Product: [Applications] dolphin Reporter: momo.injac
Component: bars: locationAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: minor CC: kfm-devel
Priority: NOR    
Version: 22.04.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description momo.injac 2022-07-11 18:18:11 UTC
SUMMARY
The bar for typing a URL/PATH auto fills a recent directory permanently instead of it being a suggestion that can be selected with Tab.

In my specific case I wanted to use the sftp protocol, so I typed in sftp://, but it came out as Sftp://, because a recent directory I have previously typed in started with a capital S.

STEPS TO REPRODUCE
1. Have Dolphin remember a recent directory so it shows in the drop down menu of suggestions when using the directory path bar.
2. Continue typing a different directory and notice how the capitalization from the original suggestion remains.


OBSERVED RESULT
The wrong capitalization of a word will keep being fed into the location bar as long as a directory in "recents" shares the letters.

Example: subdirectory named "Androidstudios_install" will be autofilled as "AndroidStudios_install", because a directory in recents is called "AndroidStudioProjects".

EXPECTED RESULT
The auto fill will temporarily suggest a directory that you can select with tab but will not alter the location bar if you just keep typing in it.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.18.10-zen1-1-zen
KDE Plasma Version: 5.25.2
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
The capitalization might not affect something like the sftp URL from resolving, however it could disrupt a manually typed directory path because they're case sensitive.