Review Request: Open new window with KRun::runUrl (with MIME-type inode/directory) instead of KRun::run fixes bug 274655 and bug 292822.

David Faure faure at kde.org
Mon Jul 16 16:07:33 BST 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105584/#review15960
-----------------------------------------------------------


I see. The problem with the old code was that the exec line was "dolphin" and not "dolphin %u" so KRun thought non-local URLs were not supported, so it would trigger kioexec ("download and open") which doesn't make sense for directories.

The new code, instead, says "open this with the default file manager", which might not always be wanted, if the default file manager is set to something else than dolphin?

If "open in new window" should always open a dolphin window and not anything else, then the fix would be to replace "dolphin" with "dolphin %u". Can you give this a try?

- David Faure


On July 15, 2012, 7:23 p.m., Emmanuel Pescosta wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/105584/
> -----------------------------------------------------------
> 
> (Updated July 15, 2012, 7:23 p.m.)
> 
> 
> Review request for Dolphin and Frank Reininghaus.
> 
> 
> Description
> -------
> 
> Open new window with KRun::runUrl (with MIME-type inode/directory) instead of KRun::run fixes bug 274655 and bug 292822.
> 
> 
> This addresses bugs 274655 and 292822.
>     http://bugs.kde.org/show_bug.cgi?id=274655
>     http://bugs.kde.org/show_bug.cgi?id=292822
> 
> 
> Diffs
> -----
> 
>   dolphin/src/dolphinmainwindow.cpp 1ce5193 
> 
> Diff: http://git.reviewboard.kde.org/r/105584/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Emmanuel Pescosta
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20120716/d1b653f7/attachment.htm>


More information about the kfm-devel mailing list