D20424: [KUrlNavigator] Fix URL navigation when exiting archive with krarc and Dolphin

N. Higa noreply at phabricator.kde.org
Wed Apr 10 05:59:58 BST 2019


nhiga created this revision.
nhiga added a reviewer: kde-frameworks-devel.
nhiga added a project: Frameworks.
nhiga requested review of this revision.

REVISION SUMMARY
  If Krusader is installed, the `krarc` protocol is available and Dolphin may use it to open ZIP archives. In this case, when the user goes back to a parent folder outside the archive, a "file or folder does not exist" error will be returned. This can be fixed by including krarc in the URL scheme check inside the `KUrlNavigator::setLocationUrl` method.
  
  BUG: 386448

TEST PLAN
  1. Install Krusader and Dolphin.
  2. Enable "Open archives as folder" in Dolphin and open a zip file using the `krarc` protocol. (Change `zip:` to `karc:` when applicable.)
  3. Click on the breadcrumb in the location area for a parent folder which is outside the archive.

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D20424

AFFECTED FILES
  src/filewidgets/kurlnavigator.cpp

To: nhiga, kde-frameworks-devel
Cc: michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190410/630e4677/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list