Summary: | Location bar trims trailing whitespace | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Thomas <tux12345> |
Component: | bars: location | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | frank78ac, russellgreene8 |
Priority: | NOR | ||
Version First Reported In: | 15.08.2 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | A screenshot compilation showing the described behaviour. |
Description
Thomas
2015-11-24 12:20:15 UTC
Add the trailing / after whitespace . ie. enter ~/whitespace / instead of ~/whitespace This works for me. Yes, the text input in the location bar works as expected. The real problem is that the graphical path view (which is default) is broken. In graphical mode, it does trim trailing whitespace away and then adds a trailing '/' when clicking on the folder 'whitespace '. By the way: The 'Up'-Button does not show the wrong behaviour when it is added to the toolbar. When you are in the folder '/home/<username>/whitespace /bar/' you can use 'Up' to go one level up without a problem. You can work around this bug by modifying the settings: - Check 'Editable location bar' in the settings Then you cannot encounter this bug, but everyone using the default settings can encounter it. (In reply to Thomas from comment #2) > The real problem is that the graphical path view (which is default) is > broken. > In graphical mode, it does trim trailing whitespace away and then adds a > trailing '/' when clicking on the folder 'whitespace '. Could you please describe in more detail how you can reproduce this problem? I tried a couple of ways to navigate to the folder "whitespace " in breadcrumb mode (the mode where there are clickable folder names shown between arrows, I guess that is what you mean with "graphical"?) in current master, but I never got any errors. Thanks for your help! Created attachment 96421 [details]
A screenshot compilation showing the described behaviour.
A screenshot compilation showing the described behaviour.
1. Screenshot: Location Bar in edit mode showing the current directory.
2. Screenshot: Location Bar in Breadcrumb mode, additionally opened the terminal.
3. Screenshot: Error shows up after clicking on the folder 'whitespace ' Note the error in the terminal as well
4. Screenshot: Navigating up using the 'Up'-Button works as intended. (note the console log)
Thanks for the screenshot and the detailed instructions! I can reproduce the problem with Dolphin 15.08.3, KDE Frameworks 5.16 and Qt 5.5.1 as provided by OpenSuse. With Dolphin+KDE Frameworks built from the master branch, it works fine though. I did some more testing and digging in the git history of Dolphin and KIO and found that this issue is fixed by https://quickgit.kde.org/?p=kio.git&a=commit&h=9dbe36f734b5b839b2a6a934fad29d639e954498 So this issue should be fixed once you upgrade to KIO 5.17 or later. |