https://bugs.kde.org/show_bug.cgi?id=517816

Sune Vuorela <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Sune Vuorela <[email protected]> ---
Okular sends the list of 1 file to hilight over dbus to the file manager, as
specified in
https://www.freedesktop.org/wiki/Specifications/file-manager-interface/ - which
Caja seems to support in
https://github.com/mate-desktop/caja/blob/master/src/caja-freedesktop-dbus.c#L241

If caja reports an error, okular instead launches the file manager with the
argument of the directory of the first file: KIO::OpenUrlJob *urlJob = new
KIO::OpenUrlJob(urls.at(0).adjusted(QUrl::RemoveFilename),
QStringLiteral("inode/directory"));

I don't know which parts fails in Caja, but Okular does as it should.

All of this happens in KIO in
https://invent.kde.org/frameworks/kio/-/blob/master/src/gui/openfilemanagerwindowjob.cpp

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to