Bug 364979 - Issue with navigation indication in KUrlNavigator's breadcrumb view.
Summary: Issue with navigation indication in KUrlNavigator's breadcrumb view.
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: David Faure
URL: https://git.reviewboard.kde.org/r/128...
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-01 14:52 UTC by Chinmoy Ranjan Pradhan
Modified: 2016-07-16 04:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
This patch will clean the path before KUrlNavigator is initialized (670 bytes, patch)
2016-07-01 14:57 UTC, Chinmoy Ranjan Pradhan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chinmoy Ranjan Pradhan 2016-07-01 14:52:44 UTC
When KUrlNavigator is initialized using KUrlNavigator::initialize with a url containg redundant ('/') say
/home/user///folder then KUrlNavigator::updateButtons stops creating buttons as soon as redundancy occurs.
Here if we consider the above path then KUrlNavigator will create buttons till "user" and not for "folder"

Reproducible: Always

Steps to Reproduce:
1.Use the testcase for KUrlNavigator in kio/tests. 
2.in KUrlNavigator's constructor pass a url like "/path/to/local///folder/subfolder"
3.

Actual Results:  
If we consider the steps above then KUrlNavigator will initialize in breadcrumb view with the indication "path>to>local"

Expected Results:  
The navigation indication should be "path>to>local>folder>subfolder>".
Comment 1 Chinmoy Ranjan Pradhan 2016-07-01 14:57:29 UTC
Created attachment 99786 [details]
This patch will clean the path before KUrlNavigator is initialized