Bug 505979 - Snap Permissions (e.g., Audio Recording) not saving via KDE System Settings for certain applications (e.g., Thunderbird, WhatsApp Desktop)
Summary: Snap Permissions (e.g., Audio Recording) not saving via KDE System Settings f...
Status: RESOLVED WORKSFORME
Alias: None
Product: Discover
Classification: Applications
Component: Snap Backend (other bugs)
Version First Reported In: 5.27.12
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-22 16:11 UTC by ralf
Modified: 2025-08-09 03:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
discover, install whatsapp (230.32 KB, image/png)
2025-06-24 19:07 UTC, ralf
Details
set rigth for whatsapp in discover (223.78 KB, image/png)
2025-06-24 19:08 UTC, ralf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ralf 2025-06-22 16:11:27 UTC
**Steps to Reproduce:**

1.  Open KDE System Settings.
2.  Navigate to "Applications" -> "Manage Snap Applications".
3.  Select "WhatsApp Desktop" (or "Thunderbird") from the list.
4.  Navigate to its "Permissions" section.
5.  Check the box next to "audio-record" (or any other relevant permission, e.g., "camera", "alsa").
6.  Close the permissions window (e.g., by clicking the 'X' button or navigating away).
7.  Re-open the permissions for the same Snap application.

**Expected Result:**
The checkbox for "audio-record" (or the previously selected permission) should remain checked.

**Actual Result:**
The checkbox for "audio-record" (or the previously selected permission) is found to be unchecked.

**Workaround:**

The permissions can be successfully connected and made persistent using the command line:

For WhatsApp Desktop:
`sudo snap connect whatsapp-linux-desktop:audio-record`

For Thunderbird:
`sudo snap connect thunderbird:audio-record` (or replace `audio-record` with the relevant permission you're trying to set for Thunderbird)

After setting the permission via the command line and restarting the application, the microphone (or other functionality) works correctly within the Snap.

ralf@yoga:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.2 LTS
Release:        24.04
Codename:       noble
ralf@yoga:~$ kf5-config --version
Qt: 5.15.13
KDE Frameworks: 5.115.0
kf5-config: 1.0
ralf@yoga:~$ snap version
snap    2.67.1+24.04
snapd   2.67.1+24.04
series  16
ubuntu  24.04
kernel  6.11.0-26-generic
ralf@yoga:~$ snap connections whatsapp-linux-desktop
Schnittstelle             Plug                                     Slot                             Notizen
alsa                      whatsapp-linux-desktop:alsa              -                                -
audio-playback            whatsapp-linux-desktop:audio-playback    :audio-playback                  -
audio-record              whatsapp-linux-desktop:audio-record      :audio-record                    manual
browser-support           whatsapp-linux-desktop:browser-support   :browser-support                 -
camera                    whatsapp-linux-desktop:camera            -                                -
content[gnome-3-28-1804]  whatsapp-linux-desktop:gnome-3-28-1804   gnome-3-28-1804:gnome-3-28-1804  -
content[gtk-3-themes]     whatsapp-linux-desktop:gtk-3-themes      gtk-common-themes:gtk-3-themes   -
content[icon-themes]      whatsapp-linux-desktop:icon-themes       gtk-common-themes:icon-themes    -
content[sound-themes]     whatsapp-linux-desktop:sound-themes      gtk-common-themes:sound-themes   -
desktop                   whatsapp-linux-desktop:desktop           :desktop                         -
desktop-legacy            whatsapp-linux-desktop:desktop-legacy    :desktop-legacy                  -
gsettings                 whatsapp-linux-desktop:gsettings         :gsettings                       -
hardware-observe          whatsapp-linux-desktop:hardware-observe  -                                -
home                      whatsapp-linux-desktop:home              :home                            -
network                   whatsapp-linux-desktop:network           :network                         -
network-bind              whatsapp-linux-desktop:network-bind      :network-bind                    -
network-status            whatsapp-linux-desktop:network-status    :network-status                  -
opengl                    whatsapp-linux-desktop:opengl            :opengl                          -
removable-media           whatsapp-linux-desktop:removable-media   -                                -
unity7                    whatsapp-linux-desktop:unity7            :unity7                          -
wayland                   whatsapp-linux-desktop:wayland           :wayland                         -
x11                       whatsapp-linux-desktop:x11               :x11                             -
ralf@yoga:~$ snap connections thunderbird
Schnittstelle           Plug                                 Slot                            Notizen
audio-playback          thunderbird:audio-playback           :audio-playback                 -
avahi-observe           thunderbird:avahi-observe            -                               -
browser-support         thunderbird:browser-sandbox          :browser-support                -
camera                  thunderbird:camera                   :camera                         manual
content[gnome-42-2204]  thunderbird:gnome-42-2204            gnome-42-2204:gnome-42-2204     -
content[gtk-3-themes]   thunderbird:gtk-3-themes             gtk-common-themes:gtk-3-themes  -
content[icon-themes]    thunderbird:icon-themes              gtk-common-themes:icon-themes   -
content[sound-themes]   thunderbird:sound-themes             gtk-common-themes:sound-themes  -
cups-control            thunderbird:cups-control             :cups-control                   -
dbus                    -                                    thunderbird:dbus-daemon         -
desktop                 thunderbird:desktop                  :desktop                        -
desktop-legacy          thunderbird:desktop-legacy           :desktop-legacy                 -
gpg-keys                thunderbird:gpg-keys                 -                               -
gsettings               thunderbird:gsettings                :gsettings                      -
home                    thunderbird:home                     :home                           -
network                 thunderbird:network                  :network                        -
network-control         thunderbird:network-control          -                               -
opengl                  thunderbird:opengl                   :opengl                         -
personal-files          thunderbird:dot-thunderbird          :personal-files                 -
removable-media         thunderbird:removable-media          :removable-media                -
system-files            thunderbird:etc-thunderbird          :system-files                   -
system-files            thunderbird:host-usr-share-hunspell  :system-files                   -
u2f-devices             thunderbird:u2f-devices              -                               -
wayland                 thunderbird:wayland                  :wayland                        -
x11                     thunderbird:x11                      :x11                            -
ralf@yoga:~$ pactl info 
pactl list short sinks
pactl list short sources
Server-Zeichenkette: /run/user/1000/pulse/native
Bibliotheks-Protokollversion: 35
Server-Protokollversion: 35
ist lokal: ja
Client-Index: 788
Tile-Größe: 65472
Name des Benutzers: ralf
Rechnername: yoga
Name des Servers: PulseAudio (on PipeWire 1.0.5)
Version des Servers: 15.0.0
Standard-Abtastwert-Angabe: float32le 2ch 48000Hz
Standard-Kanal-Zuordnung: front-left,front-right
Standard-Ziel: alsa_output.pci-0000_65_00.6.HiFi__hw_Generic_1__sink
Standard-Quelle: alsa_input.pci-0000_65_00.6.HiFi__hw_acp63__source
Cookie: 2dd1:5a58
327     alsa_output.pci-0000_65_00.6.HiFi__hw_Generic_1__sink   PipeWire        s32le 2ch 48000Hz       SUSPENDED
327     alsa_output.pci-0000_65_00.6.HiFi__hw_Generic_1__sink.monitor   PipeWire        s32le 2ch 48000Hz       SUSPENDED
328     alsa_input.pci-0000_65_00.6.HiFi__hw_Generic_1__source  PipeWire        s32le 2ch 48000Hz       SUSPENDED
329     alsa_input.pci-0000_65_00.6.HiFi__hw_acp63__source      PipeWire        s32le 2ch 48000Hz       SUSPENDED
ralf@yoga:~$ echo $XDG_SESSION_TYPE
wayland
ralf@yoga:~$
Comment 1 Nate Graham 2025-06-24 17:07:38 UTC
> 2.  Navigate to "Applications" -> "Manage Snap Applications".

Can you attach a screenshot of what this looks like for you?
Comment 2 Soumyadeep Ghosh 2025-06-24 17:17:14 UTC
@ralf Can you kindly share how you installed it? The only possible to install it generically, (also would like to say official method) is from the PPA that I maintain. That PPA is only supported in Ubuntu 24.10 and 25.04 releases, because the KCM was written in Qt6. Also, as requested by Nate, please share a screenshot of what's happening with you. Thanks
Comment 3 ralf 2025-06-24 19:07:15 UTC
Created attachment 182614 [details]
discover, install whatsapp
Comment 4 ralf 2025-06-24 19:08:18 UTC
Created attachment 182615 [details]
set rigth for whatsapp in discover
Comment 5 ralf 2025-06-24 19:12:19 UTC
Hi Soumyadeep and Nate,
thanks for your help.
Please see added attachments for installation and setting rights.
Is it enough?
Don't hesitate to ask for more if needed.
Thanks! Ralf
Comment 6 Soumyadeep Ghosh 2025-06-24 19:20:33 UTC
Hi Ralf, thanks for the screenshots. Sadly that's not the new Snap KCM, and as you're using 24.04, you cannot install it manually, because it requires Qt 6. The option model, you're trying to use to change the permissions are deprecated, and probably never worked. I'll try to create a patch in the ubuntu package of Discover to disable that button over there and suggest it.
Comment 7 Nate Graham 2025-06-25 21:46:11 UTC
Soumyadeep, is this UI still active in the Plasma 6 version of Discover?
Comment 8 Bug Janitor Service 2025-07-10 03:48:08 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 9 ralf 2025-07-10 17:09:30 UTC
@soumyadeepghosh2004@zohomail.in
can we close here?
Comment 10 Bug Janitor Service 2025-07-25 03:46:47 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 11 Bug Janitor Service 2025-08-09 03:46:53 UTC
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.