Bug 480333 - Subtract doesn't work in Farsi keyboard (minus key on numpad)
Summary: Subtract doesn't work in Farsi keyboard (minus key on numpad)
Status: REPORTED
Alias: None
Product: kcalc
Classification: Applications
Component: general (show other bugs)
Version: 23.08.4
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: Evan Teran
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-25 17:53 UTC by Unrivaledir
Modified: 2024-09-26 07:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Unrivaledir 2024-01-25 17:53:36 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Open KCalc
2. Change keyboard to "FA"
3. Subtract two numbers

OBSERVED RESULT
The minus key "-" doesn't work and for example if you want to subtract 120 - 100 = 100, you will get 120100. Beside I should mention everything is working great in "Kalc". Because KCalc doesn't sense "−".  I just opened this site (https://keycode-visualizer.netlify.app/) and when I try to press "-" on the numpad, it gives me "they key code is 173" and when I change my keyboard to FA and press the minus key on numpad, it gives me "the key code is 109" and here is the difference.
En "-" (key code 173)
Fa "−" (key code 109)

EXPECTED RESULT
I expect 120 - 100 = 20

SOFTWARE/OS VERSIONS
Arch Linux : 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.1

ADDITIONAL INFORMATION
Comment 1 Unrivaledir 2024-09-26 07:38:23 UTC
any update?(In reply to Unrivaledir from comment #0)
> SUMMARY
> ***
> NOTE: If you are reporting a crash, please try to attach a backtrace with
> debug symbols.
> See
> https://community.kde.org/Guidelines_and_HOWTOs/Debugging/
> How_to_create_useful_crash_reports
> ***
> 
> 
> STEPS TO REPRODUCE
> 1. Open KCalc
> 2. Change keyboard to "FA"
> 3. Subtract two numbers
> 
> OBSERVED RESULT
> The minus key "-" doesn't work and for example if you want to subtract 120 -
> 100 = 100, you will get 120100. Beside I should mention everything is
> working great in "Kalc". Because KCalc doesn't sense "−".  I just opened
> this site (https://keycode-visualizer.netlify.app/) and when I try to press
> "-" on the numpad, it gives me "they key code is 173" and when I change my
> keyboard to FA and press the minus key on numpad, it gives me "the key code
> is 109" and here is the difference.
> En "-" (key code 173)
> Fa "−" (key code 109)
> 
> EXPECTED RESULT
> I expect 120 - 100 = 20
> 
> SOFTWARE/OS VERSIONS
> Arch Linux : 
> Linux/KDE Plasma: 
> (available in About System)
> KDE Plasma Version: 5.27.9
> KDE Frameworks Version: 5.112.0
> Qt Version: 5.15.1
> 
> ADDITIONAL INFORMATION

any update?