GNOME Bugzilla – Bug 681049
Layering changes between first and second copy of an ODF file
Last modified: 2012-08-02 19:13:36 UTC
Created attachment 220126 [details] sample file new gnumeric open the attached file twice. Note that the order of the sheet objects has changed.
Created attachment 220165 [details] [review] test patch We are adjusting the order of the objects by reordering sheet->sheet_objects. Perhaps we need to go through the regular API so I rewrote it adding some debugging output that assumes a different test file. This patch assumes the next test file.
Created attachment 220166 [details] sample file with text in the ellipses With the above patch and this sample file we see that in teh openoffice importer everything seems to happen as expected.... But the layering is still switched.
If you create a second view of the second file, the order in that view is correct!
Thanks to Jean for figuring out that htis is due to the fact that "the SheetObjectView is not created immediately, we use g_idle_add". 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.