Bug 428365

Summary: Path which have # character in dir names fails on some operations
Product: [Frameworks and Libraries] frameworks-kio Reporter: keybreak <fear.filter>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: justin.zobel, kdelibs-bugs, kfm-devel, kirkkis, lestofante88, mia+kde, nate
Priority: NOR    
Version: 5.75.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description keybreak 2020-10-27 22:32:33 UTC
SUMMARY
Paths which have # character in them - fail in general in different operations, for example when you:
- Edit path
- Search

Path will fall to whatever were before # character.


STEPS TO REPRODUCE
1. Create such path
~/This is/# Only/A test/
2. Enter edit mode
3. Hit apply aka "Click for Location navigation"

OBSERVED RESULT
You'll be send to
~/This is/

Similar will happen if you search etc.


EXPECTED RESULT
Stay at original path:
~/This is/# Only/A test/


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: EndeavourOS/5.20.1
KDE Plasma Version: 5.20.1
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1

ADDITIONAL INFORMATION:
For some reason this is pretty commonly happens with some GUI programs, although # should be perfectly legal symbol on Linux, maybe it would make sense to check other KDE software for similar effects, i assume it doesn't happen only with Dolphin.
Comment 1 Justin Zobel 2020-10-27 23:32:07 UTC
Confirmed on Dolphin from git master.

Create folder path as described
Enter path entry (Ctrl + L)
Enter in ~/This is/# Only/A test/ but it will only navigate to the "This is" folder.
Comment 2 Nate Graham 2020-10-28 16:10:03 UTC
Works for me with git master KIO; this was a recent regression in KIO which has been fixed now. Will be released with Frameworks 5.76. Sorry for the trouble!
Comment 3 keybreak 2020-10-28 17:21:50 UTC
Thx Nate :)
Comment 4 Justin Zobel 2020-11-01 23:34:47 UTC
*** Bug 428570 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2020-11-02 18:58:40 UTC
*** Bug 428579 has been marked as a duplicate of this bug. ***
Comment 6 Nate Graham 2020-11-16 17:43:23 UTC
*** Bug 429199 has been marked as a duplicate of this bug. ***