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 120737 - logical function keys lable as given in the tool tip
logical function keys lable as given in the tool tip
Status: VERIFIED FIXED
Product: gnome-calculator
Classification: Core
Component: general
unspecified
Other Linux
: Normal minor
: ---
Assigned To: Rich Burridge
Rich Burridge
Depends on:
Blocks:
 
 
Reported: 2003-08-26 10:07 UTC by Chandrashekhar. Korlahalli
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chandrashekhar. Korlahalli 2003-08-26 10:07:52 UTC
Logical  function keys lable should as given in the tool tip.
It is as follows

" Or" --------> "OR"

"And" -----> " AND"

"Not" ----> " NOT"

" Xor" ----> " XOR"

"Xnor" ----> "XNOR"
Comment 1 Rich Burridge 2003-08-26 14:53:00 UTC
Could you test with the latest version of gcalctool please. 
A lot of work has been done recently w.r.t. improving
accessibility support and better keyboard handling.

The latest version of gcalctool can be found under:

http://ftp.gnome.org/pub/GNOME/sources/gcalctool/4.3/

Does the problem still occur with this version (with tooltips
on)?
Comment 2 Chandrashekhar. Korlahalli 2003-08-27 03:59:21 UTC
I will use  caltool version 4.3,

Thanks for the information.
Comment 3 Rich Burridge 2003-09-16 21:35:54 UTC
I just tried this with gcalctool v4.3.7 and gnopernicus
(with the FreeTTS speech driver). For the five trigonometric
buttons, the following is spoken:

"logical or"
"logical and"
"logical not"
"logical xor"
"logical xnor"

Closing as fixed.

I should add that FreeTTS makes a right dogs
breakfast out of "trigonometric" but that's
another story.

Comment 4 Chandrashekhar. Korlahalli 2003-10-01 13:35:47 UTC
With tool tip disabled, all logical functions are working fine accept
logical OR. The screen reader reads "logical OR" as "logical ORGAN".

With tool tip enabled, logical functions, trignometric functions,
arithmetic functions etc. events are sent twice to the screen reader.
Hence screen reader reads twice above mentioned functions except
numeric keys.

gcalctool version used in this is 4.3.9 
Comment 5 Rich Burridge 2003-10-01 14:30:55 UTC
I'm reopening to fix the "logical organ" problem.

My thought on how to fix this would be to substitute
a word that sounds like "or" ("oar" for example), and
add a comment to the code to say what's going on.
This sounds like a localisation problem fraught with
disaster though, so can anybody on the gnome-access-bugs
alias suggest a better approach?

For the second problem, this sounds like something that
is more general that for just gcalctool. Does this scenerio
happen for other applications? My own feeling is that
the accessibility infrastructure is actually doing the
right thing. Comments?
Comment 6 Rich Burridge 2003-10-06 16:36:38 UTC
I checked with the authors of FreeTTS and got the following
response:

The token to words module will convert "OR" from "or" to 
"Oregon" if both of the following two conditions are satisfied:

1. the previous word starts with a capital letter, has a 
   length greater than 2, and is an alphabetical sequence.

AND

2. the next word starts with a lowercase, or is null or the 
   start of a new sentence, or if the next word is a zip code.

In the case of "Logical OR", both conditions are satisfied.
Therefore, it is read as "Logical Oregon".

--

So there is a simple fix for this. I just need to change the
accessible text to "logical or".

Comment 7 Rich Burridge 2003-10-06 16:48:06 UTC
Changes checked into CVS HEAD. Fixed in
gcalctool v4.3.14.
Comment 8 Chandrashekhar. Korlahalli 2004-03-30 10:42:43 UTC
The above bug has been verified in gcaltool bersion 4.3.51, cvs build 2.t6.
The bug has been verified, XOR & XNOR  pronounciation can be set in speech 
engine dictionary.
Hence, this can be closed.