GNOME Bugzilla – Bug 314208
Remove first sheet, undo -> sheets in wrong order
Last modified: 2005-08-25 03:32:21 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)
I can replicate this on Linux. THis problem did not occur in 1.5.1.
Actually, the sheets are in the right order. The view is screwed up. Jody: you were mucking with this recently.
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.
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.
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.