Bug 485180

Summary: KCalc doesnt launch by pressing XF86Calculator button
Product: [Frameworks and Libraries] frameworks-kglobalaccel Reporter: Dave <davesyaan>
Component: generalAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: fanzhuyifan
Priority: NOR    
Version First Reported In: 6.0.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Output of xev command after pressing calculator and +/- button
Picture of keyboard Numpad with dedicated Calculator button

Description Dave 2024-04-07 11:30:45 UTC
Created attachment 168246 [details]
Output of xev command after pressing calculator and +/- button

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY

My Dell Lattitude keyboad has a Calculator and +/- button. Botton buttons are detected as XF6Calculator and F9 in xev command. Please see attached screenshot of xev.
Issues: 
1. KCalc doesnot launch by pressing XF86Calculator button. (It works fine whenever I use Gnome and launches gnome-calculator on same laptop)
2. +/- button should not be registered as F9
3. XF86calulator button is not register in systemsettings>Keyboard>Shortcuts so it cannot be assigened to any app.


STEPS TO REPRODUCE
1. On UK layout keyboard with dedicated Calulator button (picture attached), press the the Calculator button

OBSERVED RESULT
Nothing happens.


EXPECTED RESULT
kcalc should launch,

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: KDE Neon
(available in About System)
KDE Plasma Version: 6 
KDE Frameworks Version: 6
Qt Version: 6.6.2

ADDITIONAL INFORMATION
(KDE 5 also had the same issue)
Comment 1 Dave 2024-04-07 11:32:07 UTC
Created attachment 168247 [details]
Picture of keyboard Numpad with dedicated Calculator button
Comment 2 fanzhuyifan 2024-04-07 15:29:35 UTC

*** This bug has been marked as a duplicate of bug 478936 ***