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

Alvin Wong <al...@alvinhc.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Buttons redirect to         |[MS Store/msix] "Open
                   |nonexistent directories.    |Resource Folder" opens
                   |                            |non-existent directory

--- Comment #6 from Alvin Wong <al...@alvinhc.com> ---
Um, so this is a result of Desktop Bridge (the official technology used to
package traditional desktop applications for the Microsoft Store) applying
filesystem virtualization (technical info: [1]). If you have not used the
normal version (installer or portable package) before, the files will be
actually placed under apackage-local location:

    %LOCALAPPDATA%\Packages\49800Krita_<RANDOM STRING>\LocalCache\Roaming\krita

... where <RANDOM STRING> is a bunch of random letters and numbers. (By the way
I don't think it is actually random if you installed from the Store, so try
`%LOCALAPPDATA%\Packages\49800KritaProject.Krita_n3kgb906j1zjg\LocalCache\Roaming\krita`.)

>From the perspective of Krita (and by extension its file picker), it will
appear as if the files are actually inside `AppData\Local\krita`.
Unfortunately, there is no way for Krita to tell whether this folder actually
exists in the per-user global AppData location or inside the package-local
location, so I don't think there is a way to really fix the button in this
case. (I need to do some digging to confirm this.)

[1]:
https://docs.microsoft.com/en-us/windows/msix/desktop/desktop-to-uwp-behind-the-scenes#file-system

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

Reply via email to