Hello to everyone,
I was investigating a Konqueror bug report [1] and I found out what in
my opinion is an unexpected behavior in KIO::OpenUrlJob. I'd like to
know whether this is the intended behavior or it's a bug.
What I noticed is that launching a KIO::OpenUrlJob for an URL with the
applications: scheme pointing to a desktop file (for example,
applications:/Graphics/org.kde.gwenview), causes the corresponding
.desktop file to be opened in a text editor instead of being executed,
even after calling setRunExecutables(true). As a result, in both Dolphin
and Konqueror entering an URL such as applications:/Graphics/ and then
activating the icon corresponding to an application doesn't open the
application itself, as in my opinion the user expects, but opens a text
editor displaying the contents of the .desktop file.
Does anyone know if this is the expected behavior, or it's a bug?
Thanks in advance
Stefano
[1]: https://bugs.kde.org/show_bug.cgi?id=508936