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 314208 - Remove first sheet, undo -> sheets in wrong order
Remove first sheet, undo -> sheets in wrong order
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: 2005-08-22 20:20 UTC by j.gnome
Modified: 2005-08-25 03:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description j.gnome 2005-08-22 20:20:19 UTC
Windows version, 1.5.3-rc1

1. New gnumeric
2. Remove first sheet (Sheet1)
3. Undo

What happens: sheets are in the wrong order (Sheet1, Sheet3, Sheet2)
Comment 1 Andreas J. Guelzow 2005-08-22 22:18:03 UTC
I can replicate this on Linux. THis problem did not occur in 1.5.1.
Comment 2 Morten Welinder 2005-08-23 19:55:47 UTC
Actually, the sheets are in the right order.  The view is screwed up.

Jody: you were mucking with this recently.
Comment 3 Eduardo Lima (Etrunko) 2005-08-23 20:32:41 UTC
Linux 1.5.4:

1. Select Edit -> Sheet -> Manage Sheets in menu.
2. Add some sheets and leave their name generated automatically. 
3. Press ok and the names generated will not appear as the ones generated.
4. Select Manage Sheets again. See the names are correct.

It seems to be a problem only with the view.
Comment 4 Morten Welinder 2005-08-23 23:51:53 UTC
We should probably always have a notebook page per sheet.  Hidden sheets
would then just have hidden pages -- what a concept!

This would simplify a lot of code.
Comment 5 Jody Goldberg 2005-08-25 03:32:21 UTC
the patch is a bit brittle.
I added the controls before signaling that the reordering was complete.  That is
hopefully ok, but I'm not certain.  It fixes this problem.