https://bugs.kde.org/show_bug.cgi?id=525763
Bug ID: 525763
Summary: Konsole will not stop unwanted sound notifications.
Classification: Applications
Product: konsole
Version First 23.08.5
Reported In:
Platform: Debian stable
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Title: Konsole warning dialogs play `Oxygen-Sys-Warning.ogg` with no effective
way to disable the sound
Summary
Konsole plays an audible warning sound whenever certain modal warning dialogs
appear, including the “There are processes running in this window. Do you still
want to quit?” dialog.
The sound continues even when KDE notification sounds, Konsole’s bell, and the
X11 audible bell are disabled. There is no discoverable event mapping or
user-facing setting that disables the sound while retaining the warning dialog.
Steps to reproduce
1. Open Konsole.
2. Start a process, for example:
`sleep 300`
3. Attempt to close the Konsole window.
4. Konsole displays the process-running confirmation dialog and plays a warning
sound.
Actual result
Konsole directly opens and plays:
`/usr/share/sounds/Oxygen-Sys-Warning.ogg`
PipeWire confirms the source:
```text
Konsole konsole /usr/share/sounds/Oxygen-Sys-Warning.ogg Konsole
```
This can be reproduced and captured with:
```bash
pw-dump -m | jq --unbuffered -r '.[] | select(.type=="PipeWire:Interface:Node")
| (.info.props // {}) | select(."media.class"=="Stream/Output/Audio") |
[."application.name", ."application.process.binary", ."media.name",
."node.name"] | @tsv'
```
Each warning produces another Konsole audio stream for
`Oxygen-Sys-Warning.ogg`.
Expected result
When notification sounds and the audible terminal/system bell are disabled,
Konsole should display the confirmation dialog silently.
The user should not have to disable the safety confirmation itself merely to
silence it.
Additional investigation
No configuration entry referencing the sound file or the standard warning event
could be found using:
```bash
rg -n -C 4 'Oxygen-Sys-Warning' ~/.config /usr/share/knotifications*
/usr/share/config
```
or:
```bash
rg -n -C 4
'dialog-warning|^\[Event/(warning|error|information|question)\]|^Action='
~/.config /usr/share/knotifications*
```
Both searches returned no results.
This suggests the sound is selected programmatically through
`KMessageBox`/`KNotification` and bypasses—or does not expose—normal
notification-sound configuration.
Requested fix
Please make warning-dialog audio respect the global KDE notification-sound
setting, or provide a supported setting to disable audible `KMessageBox`
feedback without disabling the warning dialogs.
Environment
* Pop!_OS 24.04
* KDE Plasma session
* X11
* Konsole
Version information to attach:
```bash
konsole --version
plasmashell --version
qmake6 --version 2>/dev/null || qmake --version
echo "$XDG_SESSION_TYPE"
```
--
You are receiving this mail because:
You are watching all bug changes.