GNOME Bugzilla – Bug 489105
Shortcuts don't work if you start out in Advanced or Scientific mode
Last modified: 2007-11-02 14:22:16 UTC
(from my comment in bug 488783) Steps to reproduce: 1. Launch gcalctool, switch to Advanced or Scientific mode, then quit gcalctool. 2. Re-launch gcalctool. 3. Press any of the shortcuts for the keys in the mode you chose, like i for Int or @ for ^2. Expected results: The shortcuts would work. Actual results: The shortcuts don't work until you go back and re-choose your mode from the View menu. Other observation: Pressing C for +/- in step 3 does work as expected. This is also a shortcut available in the Basic mode. So maybe the bug is really that gcalctool doesn't realize that it's not in Basic mode when you first launch it??
Thanks Joanie.
Robert, this appears to be a Glade'd conversion bug. Could you take a look at it please? The problem appears to be in kframe_key_press_cb() in gtk.c. As the code is very different than what it used to be, I think I'll let you take first stab at this. Thanks.
*** Bug 489109 has been marked as a duplicate of this bug. ***
I'm working on a patch that moves the shortcut keys to accelerators in the glade file (I was trying to do this in the first glade patch but it ended up quite complicated). This will take a while but should fix this problem.
Cool. That sounds good. I think we are in pretty good shape even now for the gcalctool tarball for GNOME 2.21.1 in about 5-6 days time, so this fix isn't critical for that release. Thanks.
The latest patch to bug #485919 does seem to fix this problem.
> The latest patch to bug #485919 does seem to fix this problem. Good to know. I won't close this one out until that patch has "matured" and has been committed. Thanks!
Looks like the latest patch(es) have matured and been committed. Closing as FIXED. Thanks!