After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 127672 - + and = keys and Swedish keyboard
+ and = keys and Swedish keyboard
Status: RESOLVED FIXED
Product: gnome-calculator
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Rich Burridge
Rich Burridge
Depends on:
Blocks:
 
 
Reported: 2003-11-22 16:41 UTC by Mattias Dahlberg
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4


Attachments
Fix for the problem. (671 bytes, text/plain)
2003-11-24 16:20 UTC, Rich Burridge
Details
Fix for shift "=" and shift "/" (886 bytes, text/plain)
2003-12-01 17:06 UTC, Rich Burridge
Details

Description Mattias Dahlberg 2003-11-22 16:41:15 UTC
Swedish keyboard, gcalctool 4.3.3, fedora core 1.

When using the keybaord I can enter '-' and '*', but not '+' nor '='.

The '+' on the keypad works, but not '+' on the main keyboard.
Comment 1 Rich Burridge 2003-11-23 03:33:17 UTC
I think I've fixed the "+" problem in gcalctool version 4.3.15.
See bug #124172. Mattias, can you confirm that the "+" symbol
is on the bottom half of the key (i.e. shift key is not needed)
please?

And I'm guessing that the "=" key is on the top half of a key
software (i.e. you need to press the shift key to get it to
work). Please confirm. If that is that case, then I still
need to fix that problem.

Thanks.
Comment 2 Mattias Dahlberg 2003-11-23 10:24:41 UTC
Yes, = is on the top-half part of the key (i.e. shift is needed) and 
it's on the same key as 0 (zero). The + symbol is on the bottom half 
of the key and the key can be found right next to 0.
Comment 3 Rich Burridge 2003-11-24 16:20:17 UTC
Created attachment 21767 [details]
Fix for the problem.
Comment 4 Rich Burridge 2003-11-24 16:29:37 UTC
Changes checked into CVS HEAD. Fixed in v4.3.19.
Mattias, if you have the means to check this out
of CVS, build it and test it, I'd appreciate your
feedback. Thanks.
Comment 5 Mattias Dahlberg 2003-11-28 22:41:22 UTC
I did a CVS checkout (got 4.3.25) and now '+' works, but '=' still
doesn't work I'm afraid.

And, in my original report I forgot to mention another key that
doesn't seem to work, and that's the '/' key. The '/' symbol is also
on the top half of the key, you press Shift-7 to get it.
Comment 6 Rich Burridge 2003-12-01 02:44:13 UTC
Mattias, could you add the following line in gtk.c
in the kframe_key_press_cb() routine, just before
the switch statement (about line 1350):

fprintf(stderr, "kkp_cb: keyval: %d state: %d\n", event->keyval,
event->state);

and rebuild gcalctool.

Then click on the "/" and the "=" keys and let me know what
output the debug message gives.

Thanks.
Comment 7 Mattias Dahlberg 2003-12-01 16:33:06 UTC
Sure, here goes:

'=' kkp_cb: keyval: 61 state: 1

'/' kkp_cb: keyval: 47 state: 1
Comment 8 Rich Burridge 2003-12-01 17:06:25 UTC
Created attachment 21992 [details]
Fix for shift "=" and shift "/"
Comment 9 Rich Burridge 2003-12-01 17:12:14 UTC
Thanks Mattias. Okay, I think I have a correct fix now.
Changes checked into CVS HEAD (also the second attachment
to this bug). Fixed in v4.3.26 of gcalctool.