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 581117 - expr_name_handle_references is screwed
expr_name_handle_references is screwed
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
git master
Other All
: Normal critical
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2009-05-02 17:56 UTC by sum1
Modified: 2009-05-05 02:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description sum1 2009-05-02 17:56:38 UTC
Steps to reproduce:
- Make sure the worksheet has more than 128 rows before starting
- Select cell A129
- File > Print Area > Set Print Area
- Edit > Sheet > Resize
- Resize to 128 rows
- Press OK
- Select File > Print Preview and notice that no preview pops up
Comment 1 Morten Welinder 2009-05-02 23:03:16 UTC
The print area becomes #REF, but I still get a preview.

sheet_get_nominal_printarea seems to handle it jsut fine.

Please retry.
Comment 2 Morten Welinder 2009-05-02 23:27:50 UTC
Reproduced.
Comment 3 Morten Welinder 2009-05-03 00:04:45 UTC
This is not print related.

What happens is that the name gets defined to "$A$129".  Note, that there
is no sheet.  expr_name_handle_references then cannot return the sheet
and deps are wrong.
Comment 4 Morten Welinder 2009-05-03 00:34:58 UTC
A very nice catch.

This could have caused all kinds of weird dependency problems.

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 5 Morten Welinder 2009-05-03 18:32:42 UTC
Reopening.  I'm unhappy with my fix.
Comment 6 Morten Welinder 2009-05-05 02:09:35 UTC
Happy.