Accidental Reboots due to Default Shortcuts and Odd Keyboard Layout
Issue: Due to Plasma Workspace's default session shortcuts and having an unusual keyboard layout, I've often rebooted or powered my computer off, without any warning, inadvertently.
Suggested fix: Remove the default shortcuts from the "Halt Without Confirmation", "Log Out Without Confirmation", and "Reboot Without Confirmation" shortcut entries.
I use an XPS 13 7390 laptop with the latest KDE Neon User Edition. In my setup, I use Ctrl+Shift+Alt+Right to move a window to the next Workspace and Ctrl+Shift+Alt+Left to move a window to the previous workspace. Because my laptop's keyboard has an unusual layout, I often press Page Up instead of Left and Page Down instead of right. This triggers the "Halt Without Confirmation" and "Reboot Without Confirmation" shortcuts, which interrupt whatever I'm doing at the moment, powering off my system. I've disabled the shortcuts and no longer have the issue. Nevertheless, I think that it should be prevented.
Here is a keyboard layout that's similar to mine:
While I can think of reasons for setting up a shortcut to halt/reboot the system without warning, I think it's a bad idea to have these shortcuts enabled and tied to a key combination by default. People who press these shortcuts accidentally may think the computer powered off for no reason. Also, the existence of these shortcuts also represents a security concern, since those could be used to exploit a system through keystroke injection attacks. For those reasons, I think the best course of action would be to remove or make these "perform dangerous action without confirmation shortcuts" disabled by default, while leaving the possibility of configuring them.
OS: KDE neon User Edition 5.21 x86_64
Host: XPS 13 7390 2-in-1
Kernel: 5.11.14-051114-lowlatency