Bug 510562 - "Open Containing Folder" doesn't work as expected on Windows
Summary: "Open Containing Folder" doesn't work as expected on Windows
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (other bugs)
Version First Reported In: 25.04.0
Platform: Compiled Sources Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-13 12:02 UTC by luca
Modified: 2025-10-13 12:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description luca 2025-10-13 12:02:33 UTC
SUMMARY
Selecting to open the containing folder of a PDF document opens only the root directory ("This PC").

STEPS TO REPRODUCE
1. Open a PDF file from Windows Explorer
2. Associate Okular to predefined operation on file, if not already so
3. While viewing the document in Okular, click on the main menu, File > Open Containing Folder

OBSERVED RESULT
 A new window of Windows Explorer opens on the "This PC" starting point

EXPECTED RESULT
The new window should be directed to the original path of the document

SOFTWARE/OS VERSIONS
Windows: Windows 11 Pro, 25H2
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
- The behavior is the same with both local files and network files.
- Clicking on File > Properties, the document's path is shown with forward slashes, instead of Windows backslashes; this could lead to failing paths, depending on the file/directory access functions.