SUMMARY STEPS TO REPRODUCE 1. Install Okular from Windows Store 2. Open a pdf 3. Select File > Open Containing Folder. OBSERVED RESULT Nothing happens. EXPECTED RESULT New Windows Explorer opens where pdf is located. SOFTWARE/OS VERSIONS Windows: 1909 KDE Frameworks Version: 5.63.0 Qt Version: 5.13.1 Okular Version: 1.8.2
This menu item calls KIO::highlightInFileManager. I guess that function doesn't work on Windows.
Anyone knowledgeable in Windows just needs to implement a open strategy calling SHOpenFolderAndSelectItems
In any case it should already have a fallback for opening just the parent folder without highlighting the file, which might then also be broken?
OpenFileManagerWindowJob has been ported to KIO::OpenUrlJob, the latter has a fallback to use QDesktopServices::openUrl() which should work on windows. https://invent.kde.org/frameworks/kio/-/blob/master/src/gui/openurljob.cpp#L617 Closing as fixed, feel free to reopen if you still see this issue with KIO 5.71.0 which is going to be released in a couple of weeks: https://community.kde.org/Schedules/Frameworks