Fedora Account System
Red Hat Associate
Red Hat Customer
kde-settings-44.0-1.fc44 ships `/usr/share/kde-settings/kde-profile/default/xdg/plasma_workspace.notifyrc` with: [Event/exitkde] Action=Sound Upstream plasma-workspace ships this event with `Action=` (empty). With `Action=Sound`, ksmserver (plasma-workspace-6.8.2) waits for the `exitkde` KNotification to close before it completes logout. kf6-knotifications-6.31 never emits `closed()` for a notification that has Sound but no Popup (upstream: https://bugs.kde.org/show_bug.cgi?id=528695). So every logout, shutdown and reboot waits ksmserver's 5 s fallback timer. The result is the same whether the sound plays or fails. Steps to reproduce: 1. Fedora 44 KDE Plasma, default settings. 2. Shut down or reboot from the Plasma menu. 3. `journalctl -b -1 -o short-precise | grep -E "Started dbus-:1.2-org.kde.Shutdown|Stopped target plasma-workspace-wayland"` Actual: ~5 s between the two lines (measured 4.77–5.35 s over 6 shutdowns). Expected: < 0.1 s. That is what you get after adding `[Event/exitkde] Action=None` to `~/.config/plasma_workspace.notifyrc` (measured 0.05 s). Suggested fix: drop the `exitkde` override from kde-settings, so the upstream empty `Action=` applies, until the KNotifications bug is fixed. The `startkde` override does not cause a delay, because nothing waits for it.
I can confirm that the workaround suggested in this report successfully fixes the issue on my system. System configuration: - Fedora 44 KDE - Plasma Workspace 6.8.3 - KNotifications 6.32.0 - kde-settings 44.0 I was experiencing the exact same behaviour: a consistent 5-second delay between clicking "Shut Down" and the actual beginning of the shutdown process. During this delay, the desktop remained fully responsive. The system configuration contained the following entry: [Event/exitkde] Action=Sound I applied the proposed workaround by creating a user-level override using this command: kwriteconfig6 --file plasma_workspace.notifyrc --group Event/exitkde --key Action None This created ~/.config/plasma_workspace.notifyrc with the following content: [Event/exitkde] Action=None Result: The 5-second delay completely disappeared. Shutdown now starts almost immediately after clicking the button. I can confirm that this workaround works on Fedora 44 with the versions listed above. Thank you for investigating this issue!