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 363801 - Provide confirmation when the user presses Insert R/C in Calc
Provide confirmation when the user presses Insert R/C in Calc
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Rich Burridge
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-10-21 00:20 UTC by Joanmarie Diggs (IRC: joanie)
Modified: 2006-10-22 19:44 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Patch to hopefully implement this enhancement. (1.52 KB, patch)
2006-10-21 23:37 UTC, Rich Burridge
none Details | Review
Patch to speak the column number as column letter(s). (1.48 KB, patch)
2006-10-22 17:52 UTC, Rich Burridge
none Details | Review

Description Joanmarie Diggs (IRC: joanie) 2006-10-21 00:20:35 UTC
Currently, pressing Insert R/Insert C in Calc allows you to set the location of the column/row titles for your worksheet.  Pressing it twice quickly clears the location.  However, no confirmation is provided when you use these commands. It would be helpful to have confirmation so that you know what has been set/cleared.

(Suggested at Boston Orca users group)
Comment 1 Rich Burridge 2006-10-21 00:31:52 UTC
Easy to do. This will be in setDynamicColumnHeaders() and
setDynamicRowHeaders() in .../src/orca/scripts/StarOffice.py.

We will need to speak/braille the new column/row and state that
it's been cleared.
Comment 2 Rich Burridge 2006-10-21 23:37:16 UTC
Created attachment 75165 [details] [review]
Patch to hopefully implement this enhancement.
Comment 3 Rich Burridge 2006-10-21 23:39:00 UTC
Changes checked into CVS HEAD. Closed as FIXED.
Comment 4 Joanmarie Diggs (IRC: joanie) 2006-10-22 04:51:10 UTC
This is awesome!! Thanks!!!

I'm going to toss one thing out there for consideration, however:  When you press Insert C, Orca now reports the column containing the dynamic row headers *in terms of a number* (e.g. Column 1, Column 2, etc.).  Since Calc labels columns with letters, I'm wondering if it would be possible to report the column using letters instead.

Regardless, this is very cool. :-)
Comment 5 Rich Burridge 2006-10-22 15:29:56 UTC
I actually spent about thirty minutes yesterday trying to do this.
I niavely thought I'd be able to use _getSpeechForColumnHeader() and
_getSpeechForRowHeader() but they don't seem to help.

Tomorrow, I'll cons up a small routine to turn a column number into
a string of letters [A-Z,A[A-Z] and so on...].
Comment 6 Rich Burridge 2006-10-22 17:52:34 UTC
Created attachment 75208 [details] [review]
Patch to speak the column number as column letter(s).
Comment 7 Rich Burridge 2006-10-22 17:54:01 UTC
New changes checked into CVS HEAD.
Comment 8 Willie Walker 2006-10-22 18:07:33 UTC
A minor nit to help our i18n/l10n friends would be to use formatting of strings rather than concatenate them.  We don't always do this in Orca (sometimes it's hard to do), but in this case, I think we can do it easily.  Something like the following pattern for the various places where this is done:

_("Dynamic column header set for row %s") % str(row+1)
_("Dynamic row header set for column %s") % self.columnConvert(column+1)

Thus, in a locale where ordering of things might be different, the localized string might look like:

_("Owray %s is ownay the ynamicday olumncay eaderhay")
 
Comment 9 Rich Burridge 2006-10-22 19:44:18 UTC
Okay. Change checked into CVS HEAD. Thanks.