GNOME Bugzilla – Bug 345836
Legend position not saved correctly
Last modified: 2007-02-18 20:07:44 UTC
Please describe the problem: If I generate a x-y chart, add a legend, set legend position to "top" save and close the spreadsheat, when reopening the spreadsheet, the legend position is "right" again. Steps to reproduce: 1. Create a x-y chart 2. add a legend 3. set legend position to "top" 4. accept the chart 5. save and close the spreadsheet 6. reopen the just saved spreadsheet Actual results: The legend position is "right" again Expected results: The legend position should be "top" again Does this happen every time? yes Other information:
The problem is we don't save anything when a property value is the default one, defined in the base class (GogObject). But in the case of position property, default value depend on object type: top for Graph title, left for Legend. So, here, lack of compass property in gnumeric file is interpreted as top instead of left. A quick fix would be to always save the value of compass property. But that means saving of useless information for some objects. Jody, any thought ?
The bug is still here for me in 1.7.0 (provided by ubuntu 6.10), is this corrected in newer releases?
This bug is not fixed yet.
That sounds more like compass should not have a default, then.
Fixed in the development version. The fix will be available in the next major release. Thank you for your bug report.