| Summary: | Okular on Windows cannot open WSL 2 files | ||
|---|---|---|---|
| Product: | [Applications] okular | Reporter: | wjb |
| Component: | general | Assignee: | Okular developers <okular-devel> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | wodsfort |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
wjb
2020-04-07 19:30:13 UTC
I found a workaround that suggests this may have something to do with the WSL 2 path. If we remount WSL 2 as a drive explicitly, we can open files using Okular. 1. Navigate to `\\wsl$` in Explorer. 2. Right click on the `<wsl-name>` folder and click "Map network drive...". 3. Mount the folder as a new drive, such as `Z:`. 4. Open the same PDF from `Z:path\to\file.pdf` instead of from `\\wsl$\<wsl-name>\path\to\file.pdf`. It will open correctly. Now all works fine with Windows 10 22H2(19045.5131) and Okular 25.07.70.Please,update okular+windows,if you will see problem after updating ,reopen this big |