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 311306 - gcalctool buttons disabled when switching between Basic and Scientific modes
gcalctool buttons disabled when switching between Basic and Scientific modes
Status: RESOLVED FIXED
Product: gnome-calculator
Classification: Core
Component: general
5.6.x
Other All
: Normal normal
: ---
Assigned To: Rich Burridge
Rich Burridge
Depends on:
Blocks:
 
 
Reported: 2005-07-22 22:10 UTC by Daniel Kahn Gillmor
Modified: 2005-07-29 13:41 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12


Attachments
Patch fix (452 bytes, patch)
2005-07-23 20:40 UTC, Rob Bradford
none Details | Review
Patch to hopefully fix the problem. (457 bytes, text/plain)
2005-07-25 17:11 UTC, Rich Burridge
  Details

Description Daniel Kahn Gillmor 2005-07-22 22:10:33 UTC
Version details: 5.5.41-0ubuntu1
Distribution/Version: ubuntu 5.04 (Hoary)

i'm using gcalctool 5.5.41 under Ubuntu 5.04 (Hoary Hedgehog).

Launch Gcalctool from Applications|Accessories|Calculator

Choose "View|Scientific"

Change numeric base to binary (radio button labelled 'Bin'): buttons 2-F are
disabled, as they should be.

Now choose "View|Basic": we're back to a decimal base, as is appropriate for
Basic view.

Now choose "View|Scientific": the radio button representing the base shows
"Dec", but button 2-9 are still disabled.  changing base back and forth again
fixes it.

Note that this problem does not happen when switching between Scientific and
Advanced  or between Scientific and Financial.  It only happens when switching
between Scientific and Basic.
Comment 1 Teppo Turtiainen 2005-07-23 07:00:13 UTC
Confirmed with gcalctool 5.6.24 on Ubuntu Breezy.
Comment 2 Rob Bradford 2005-07-23 20:40:02 UTC
Created attachment 49647 [details] [review]
Patch fix

This patch assumes that you want to remember what the previous base you were
working in if you switch to/from scientific mode. This might not be what you
want

Cheers,

Rob
Comment 3 Rich Burridge 2005-07-25 14:27:23 UTC
Hi all. I think the real fix here is to make sure that the base radio
indicator is reset correctly. I've added Calum, my HCI guy for the 
FinalWord(TM).
Comment 4 Rich Burridge 2005-07-25 16:54:14 UTC
Okay, I've had caffiene now, and hopefully can write
what I really mean. The fix here I think is to make sure
that the buttons are ungreyed when going from View->Scientific
to View->Basic. As tarballs are due today for GNOME 2.12.0 (beta1),
that's the fix I'm going to implement and checkin. More in a few
minutes...
Comment 5 Rich Burridge 2005-07-25 17:11:59 UTC
Created attachment 49733 [details]
Patch to hopefully fix the problem.
Comment 6 Rich Burridge 2005-07-25 17:15:52 UTC
Change checked into CVS HEAD. Version number in configure.in
bumped to 5.6.25. I'll generate a new tarball later today.
Comment 7 Rob Bradford 2005-07-29 13:41:51 UTC
I'm in happy agreement. I'm glad that there are proper HCI folks around :)