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

            Bug ID: 518097
           Summary: open recently opened files doesn't work for flatpak
                    apps
    Classification: Frameworks and Libraries
           Product: frameworks-kio
      Version First 6.24.0
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Open/save dialogs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

SUMMARY
Flatpak apps (like gwenview) cannot access files its opened previously. 


STEPS TO REPRODUCE
1. remove /home access to gwenview flatpak (via flatseal, system settings, etc)
2. open file with gwenview (say named "mybestfile.png")
3. close gwenview
4. open gwenview
5. file -> open recently close files -> 
6. get error: Could not open file:///run/user/1000/doc/1099b545/mybestfile.jpg. 


OBSERVED RESULT
Gwenview cannot open recently viewed files when packaged as a flatpak and /home
(or folder) permission is removed. 

EXPECTED RESULT
Gwenview can open recently viewed files using file portal remembering its seen
the file before. 

SOFTWARE/OS VERSIONS
Operating System: Fedora 43
KDE Plasma Version: 6.6.2
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.2
Kernel Version: 6.18.10-200.fc43.x86_64 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
What I understand to be happening is that flatpak paths are ephemeral. Kio
doesn't store the original path (based on system location), so when the app is
restarted, it cannot find the file anymore.

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

Reply via email to