Opened 12 years ago

Last modified 12 years ago

#3817 new defect

Calculate on XO laptops always treats langauge key as multiply & divide button

Reported by: greenfeld Owned by: rwh
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Calculate Version: 0.96.x
Severity: Unspecified Keywords:
Cc: godiard Distribution/OS: OLPC
Bug Status: Unconfirmed

Description

Calculate-40 on OLPC 12.1.0 os20 always treats the XO's language switch key as it functions on the English XO keyboard. The unshifted version of this key inserts a "*" (multiply) operator into the calculation, and the shifted version a "/" (divide) operator.

This key is defined differently on non-English keyboards. On Brazilian keyboards the unshifted character is "/" and the shifted character is "?". In this case attempting to divide using the keyboard always results in multiplication.

If the key is used as an actual language switch, the "*" and (shifted) "/" operators still get added to the calculation to be evaluated. This is in addition to the language being switched.

Change History (1)

comment:1 Changed 12 years ago by walter

Hard to imagine how it does that, since the mapping happens before the keystrokes are sent to Calculate. I'll take a peek.

-walter

Note: See TracTickets for help on using tickets.