Review Request 120267: Don't run kioexec if we are already running it
David Faure
faure at kde.org
Sat Oct 11 09:03:34 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120267/#review68253
-----------------------------------------------------------
Ah ok so this is not a new bug, but something that would have happened in kdelibs4 too, it's just that nobody is supposed to call kioexec for local files :-)
I think I understand better what this is about now.
src/core/desktopexecparser.cpp
<https://git.reviewboard.kde.org/r/120267/#comment47559>
I would merge this with the if (useKioexec) line. Otherwise this creates a new code path (going directly to result << exec), while surely not entering the main if() would have worked just as well? Less different cases to handle.
- David Faure
On Oct. 4, 2014, 12:56 p.m., Maarten De Meyer wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/120267/
> -----------------------------------------------------------
>
> (Updated Oct. 4, 2014, 12:56 p.m.)
>
>
> Review request for KDE Frameworks and David Faure.
>
>
> Bugs: 339123
> https://bugs.kde.org/show_bug.cgi?id=339123
>
>
> Repository: kio
>
>
> Description
> -------
>
> Only add the actual command and url's otherwise we keep spawning instances of kioexec.
> Maybe we should rename the kioexec service from 'dummy' to 'kioexec-dummy' just to be safe.
>
>
> Diffs
> -----
>
> src/core/desktopexecparser.cpp 9510697
> src/kioexec/main.cpp f0e2823
>
> Diff: https://git.reviewboard.kde.org/r/120267/diff/
>
>
> Testing
> -------
>
> Run kioexec with local file from command line.
> Remote files don't work (before and after) I'll take a look at that next.
>
>
> Thanks,
>
> Maarten De Meyer
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20141011/6f3d7acf/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list