Bug 341411

Summary: Going Up breaks titlebar
Product: [Applications] dolphin Reporter: Kai Uwe Broulik <kde>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: arjunak234
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Kai Uwe Broulik 2014-11-29 18:10:47 UTC
[kde-baseapps frameworks]

When going up a to the previous folder (using a key or adding the toolbar button, not the back functionality!) breaks the title and tabbar. The titlebar only reads "/" and the tab (in case of multiple tabs) only "file". This even persists when navigating somewhere else and back, it will read "/" again for that particular folder.

Reproducible: Always

Steps to Reproduce:
1. Navigate into a subfolder
2. "Go up"
3. Observe title bar

Actual Results:  
Titlebar reads "/ - Dolphin"

Expected Results:  
Titlebar should read "nameOfParentFolder - Dolphin"
Comment 1 Arjun AK 2014-11-30 10:34:14 UTC
Patch to fix this: https://git.reviewboard.kde.org/r/121293/
Comment 2 Arjun AK 2014-12-01 12:09:37 UTC
Git commit ce73846ba818b8f4b9c8060bf8d86298464e1c2e by Arjun AK.
Committed on 01/12/2014 at 12:01.
Pushed by arjunak into branch 'frameworks'.

Fix KUrl -> QUrl porting error

Trailing slashes should be removed before calling QUrl::filename(),
else it will return an empty string.
REVIEW: 121293

M  +5    -1    dolphin/src/dolphinmainwindow.cpp
M  +1    -1    dolphin/src/dolphintabwidget.cpp

http://commits.kde.org/kde-baseapps/ce73846ba818b8f4b9c8060bf8d86298464e1c2e