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 407247 - Selection descriptor doesn't show cell references in R1C1 format
Selection descriptor doesn't show cell references in R1C1 format
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: GUI
git master
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2007-02-12 22:22 UTC by Oliver Burnett-Hall
Modified: 2007-02-13 18:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Make selection descriptor follow A1/R1C1 reference style of active worksheet (1.71 KB, patch)
2007-02-12 22:23 UTC, Oliver Burnett-Hall
none Details | Review

Description Oliver Burnett-Hall 2007-02-12 22:22:47 UTC
If the worksheet is using R1C1 style references, the selection descriptor still shows the active cell's reference in A1 style.

A possible fix for this is attached; it's a fairly non-invasive way of fixing this, but I don't know if it is the best way.

The patch defines a function, cellpos_as_string_r1c1(), to use instead of cellpos_as_string().  Instead it might be better to change the declaration of cellpos_as_string() to become:

char const *cellpos_as_string (GnmCellPos const *pos, gboolean r1c1_address)

I think this would be a bit cleaner, but would make the patch much bigger (though only in a trivial way).
Comment 1 Oliver Burnett-Hall 2007-02-12 22:23:54 UTC
Created attachment 82427 [details] [review]
Make selection descriptor follow A1/R1C1 reference style of active worksheet
Comment 2 Morten Welinder 2007-02-13 18:33:19 UTC
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.

I fixed this another way: basically, cell_name and the new parsepos_as_string
know how to query the sheet's r1c1_addresses.  That should fix a large pile
of these issues automatically.