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

            Bug ID: 468205
           Summary: For some flatpak apps changed permissions are not
                    applied
    Classification: Applications
           Product: systemsettings
           Version: 5.27.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_flatpak
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
  Target Milestone: ---

SUMMARY

I have installed `org.geogebra.Geogebra` from Flathub. When I edit the
permissions and hit the "apply" button, those changes are actually not applied.
There's no feedback about that in SystemSettings nor anything is logged in
journalctl.
The permissions however can be changed via `flatpak override` and these changes
are then reflected in the kcm. 
For some reason this issue cannot be reproduced for all flatpaks I have
installed.

-----------------------------------------------------

STEPS TO REPRODUCE
1) 

```
flatpak info --show-permissions org.geogebra.GeoGebra
[Context]
shared=network;ipc;
sockets=x11;wayland;
devices=dri;
filesystems=home;
```

Remove the checkmark "Internet connection" in the flatpak kcm, hit apply.
Re-open the permission page.

Result: "Internet connection" is checked again and `flatpak info` shows the
same as above. Nothing was applied.

2) 
```
flatpak override --user --unshare=network org.geogebra.GeoGebra
flatpak override --user --unshare=ipc org.geogebra.GeoGebra
```
Re-open the permission page.

Result: The checkmark is now gone!

-----------------------------------------------------

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230403
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.9-1-default (64-bit)
Graphics Platform: Wayland

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

Reply via email to