Summary: | Authentication dialog does not play sound effect set in "Notifications / Events" | ||
---|---|---|---|
Product: | [Plasma] policykit-kde-agent-1 | Reporter: | Victor <victorstancioiu> |
Component: | general | Assignee: | Dario Freddi <drf> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | ferenosdev, jgrulich, jreznik, kdedev |
Priority: | NOR | ||
Version First Reported In: | 5.23.4 | ||
Target Milestone: | --- | ||
Platform: | Manjaro | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/polkit-kde-agent-1/-/commit/40daa6866264a51dfc15ae4487e6a3883a455147 | Version Fixed In: | 6.4.0 |
Sentry Crash Report: | |||
Attachments: | Settings window containing the mentioned event options. |
*** Bug 502763 has been marked as a duplicate of this bug. *** Passed the confirmed status to this issue given the duplicate was marked as confirmed A possibly relevant merge request was started @ https://invent.kde.org/plasma/polkit-kde-agent-1/-/merge_requests/53 Git commit 40daa6866264a51dfc15ae4487e6a3883a455147 by Nate Graham, on behalf of Bogdan Cvetanovski Pašalić. Committed on 27/04/2025 at 13:25. Pushed by ngraham into branch 'master'. Add notification sound to authentication dialog This commit fixes the notification event not activating when the authentication dialog window appears, causing it to not play a sound. Now, it plays `dialog-warning-auth`, which currently falls back to `dialog-warning` if the desires sound is not found in the active sound theme. FIXED-IN: 6.4.0 M +1 -0 .kde-ci.yml M +3 -1 CMakeLists.txt M +4 -1 QuickAuthDialog.cpp R +2 -1 polkit-kde-authentication-agent-1.notifyrc [from: policykit1-kde.notifyrc - 099% similarity] https://invent.kde.org/plasma/polkit-kde-agent-1/-/commit/40daa6866264a51dfc15ae4487e6a3883a455147 |
Created attachment 145512 [details] Settings window containing the mentioned event options. SUMMARY Any "Authentication Required" popup dialog that appears when a program needs administrative privileges does not play the audio set in "System Settings → Notifications → Applications → Authentication System → Configure Events... → Play a sound". STEPS TO REPRODUCE 1. Set any audio file as the sound effect for PolicyKit (follow the path of menus listed in the first paragraph). 2. Trigger an "Authentication Required dialog. For example, starting up the KDE Partition Manager or modifying packages. OBSERVED RESULT The popup appears as usual, however the event sound effect previously cannot be heard. EXPECTED RESULT The sound effect playing upon the dialog popping up. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Manjaro 21.2.1 KDE Plasma Version: 5.23.4 KDE Frameworks Version: 5.89.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION Note that events for other programs, such as network connections, volume up/down, screenshots, etc. do follow their settings.