| Summary: | Issue with navigation indication in KUrlNavigator's breadcrumb view. | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Chinmoy Ranjan Pradhan <chinmoyrp65> |
| Component: | general | Assignee: | David Faure <faure> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | kdelibs-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| URL: | https://git.reviewboard.kde.org/r/128334/ | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | This patch will clean the path before KUrlNavigator is initialized | ||
Created attachment 99786 [details]
This patch will clean the path before KUrlNavigator is initialized
|
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>".