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

michael <reeves...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Flatpack Start gives "Qt:   |Flatpack Star can compare
                   |Session management error:   |directories outside home
                   |Could not open network      |folder
                   |socket"                     |
             Status|REPORTED                    |ASSIGNED
     Ever confirmed|0                           |1

--- Comment #1 from michael <reeves...@gmail.com> ---
Looks we the "Qt: Session management error" is an internal session management
errot that does not impact kdiff3 functionally. 
Qt is trying to access '/tmp/.ICE-unix' which is being blocked by flatpak
default configuration. See
https://docs.flatpak.org/en/latest/sandbox-permissions.html for more on that.
Allowing access to '/tmp' changes the error but does not remove it completely.
As far as kdiff3 not being able to actually do the comparison that can be
adjusted in my build config. Currently this has been set to allow the home
folder via one of flatpak's fixed presets. Otherwise even that would not be
allowed.

Passing '--filesystem=host' to flatpaks at launch will allow as much access to
most directories. A few restricts are enforced even then hence why the Qt
warning doesn't go away.  The full command would be:

flatpak run --filesystem=host org.kde.kdiff3

To set this as default  run:

flatpak override --filesystem=host org.kde.kdiff3

Next will do this at build time.

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

Reply via email to