Bug 502520

Summary: Pressing Fn+S on laptop keyboard causes repeated instances of Spectacle to be launched
Product: [Frameworks and Libraries] frameworks-kglobalaccel Reporter: kdeish
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: fanzhuyifan, john.kizer, nicolas.fella
Priority: NOR    
Version First Reported In: 6.13.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description kdeish 2025-04-07 12:24:55 UTC
***
Pressing two keys on a standard US keyboard will DDoS the KDE completely to a total freeze.

SUMMARY
Pressing two keys on a standard US keyboard will DDoS the KDE completely to a total freeze. You will destroy unsaved documents and create errors in harddrive/filesystem via the unavoidable hard power button reset (reuso+reisub does not work). Total freeze.

STEPS TO REPRODUCE
1. Log in to KDE
2. For a better effect, play a video form your hdd, e.g. via mpv (not required, but encouraged)
3. For a better effect, do not close Dolphin (not required, but encouraged)
4. Open a very important document in Kate to edit it, try to save it via pressing "ctrl+s", but miss intentionally/by mistake Fn insted of ctrl, so d number 5 below:
5. PRESS "Fn+s" (instead of ctrl+s).

OBSERVED RESULT
1. Unlimited number of spectacle screenshotter is launched
2. Infinte number of openining Specacle windows will DDoS the KDE and WILL TOTALLY FREEZE THE SYSTEM

ADDITIOAL INFO:
1. Standard Shortcuts/Default KDE Shortcuts
2. Default Sepctacle shortcut removed, only PrintScr left
3. Nothing helped: Undocumented Fn+s is still DDoS-ing KDE

How many times it happend this to me befor I decided to report this graveyard bug:
As far as I remember from 7 - 10.

EXPECTED RESULT
Remove undocumented shortcut: "Fn+s" and MAKE SURE that neither documented or undocumented shortcuts will DDoS KDE.
This is NOT cool!

SOFTWARE/OS VERSIONS
Arch Linux
$ kinfo
KDE Plasma Version:  6.3.3
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.3

ADDITIONAL INFORMATION
X11
Standard US ANSI Laptop keyboard (ctrl-fn-meta-alt-space)
Comment 1 John Kizer 2025-04-12 19:42:15 UTC
Hi - if you go to a virtual terminal and run showkey -a , then try to press Fn+S, what shows up there?

I'm asking as Fn modifies what key is sent to the operating system, if there is an assigned Fn function for it on your keyboard. On at least my laptop, S doesn't have such a function, so Fn+S just types an S. 

Your keyboard appears to be sending something to the device when Fn+S is pressed - possibly getting stuck as well - but what is getting sent by the keyboard would be helpful to understand if there is possibly a KDE bug here.

For what it's worth, "DDoS" refers to a distributed denial of service attack - many different computers sending packets to overwhelm one system - a different thing from a freeze or crash :-)
Comment 2 Bug Janitor Service 2025-04-27 03:47:23 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 3 Bug Janitor Service 2025-05-12 03:47:01 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.