Bug 462823 - Can't set Windows-store version as default open-with for some arbitrary types
Summary: Can't set Windows-store version as default open-with for some arbitrary types
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 22.08.1
Platform: Microsoft Windows Microsoft Windows
: NOR minor
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-09 18:47 UTC by Tom Bertalan
Modified: 2022-12-09 18:47 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 Tom Bertalan 2022-12-09 18:47:28 UTC
SUMMARY
To open a PNG with Okular on Windows, you need to either drag it in from Explorer, File > Open it, or use the .exe installer and set the resulting bin/okular.exe as an "open-with" in the usual way. If you install from the Microsoft store (which the site recommdends, I guess this is a UWP app then), the last option is not available.

I believe this issue might provide a way to fix this: https://github.com/microsoft/WindowsAppSDK/issues/27

STEPS TO REPRODUCE
1. Install Okular in in Windows in the recommend way, through the Microsoft Store.
2. Right click in Windows Explorer on a PNG file (or probably any other non-PDF image that Okular can in fact open).
3. Go to Open With > Choose Another App > More Apps. Okular is not in the list.
4. Optionally execute `Get-AppxPackage -name "KDEe.V.Okular"` in powershell to get the install location. Mine is `C:\Program Files\WindowsApps\KDEe.V.Okular_22.801.1132.0_x64__7vt06qxq7ptv8\`.
5. Observe the okular.exe executable in an elevated Powershell in e.g. `C:\Program Files\WindowsApps\KDEe.V.Okular_22.801.1132.0_x64__7vt06qxq7ptv8\bin\`
6. Try to set this path as an open-with option; not possible because this install location is some kind of chroot jail or mounted filesystem or whatever.


OBSERVED RESULT
Can't set okular.exe as an open-with with Windows UWP installation.


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 22H2, Windows 10 Education

ADDITIONAL INFORMATION