Bug 190264

Summary: kcalc disregards regional keyboard settings
Product: [Applications] kcalc Reporter: Vitor M. Pereira <vmpereir>
Component: generalAssignee: Klaus Niederkrüger <kniederk>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mboquien
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Vitor M. Pereira 2009-04-21 16:39:23 UTC
Version:           2.4 (using 4.2.2 (KDE 4.2.2), 4.2.2-5.fc10 Fedora)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27.21-170.2.56.fc10.i686

I use KDE 4.2.2 with two different keyboard layouts, interchangeably: Portuguese and standard US (I have a portuguese laptop and an extra US keyboard, the PT layout is the default one).

I use the KDE keyboard layout switcher to switch between them at will, and haven't found any problem with other apps, except for kcalc.

When using kcalc with the US layout, the application acts as if I still had a PT layout. For example if I press '*' kcalc interprets it as '(' (which is the character for that key in the PT layout). In other words, it looks like kcalc is not aware of the keyboard layout changes, and always uses the default layout.

So if I resort to the US keyboard to calculate 10/2, I get 8 (because '/' is interpreted as '-').
Comment 1 Médéric Boquien 2009-05-04 06:52:10 UTC

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