When the user changed the grid resolution setting in Tools - Options - LibreOffice Draw - Grid, resolution, a document saved with a different grid resolution will at first correctly display the grid resolution saved with it. Tools - Options, however, does not show the settings of the document, but instead shows the ones last set on a different document. As soon as the user changes something about the grid (visibility, snap to grid), the grid resolution reverts to the one displayed in the settings. # Steps to reproduce the issue: 1. Create a new file. For this example, turn grid visibility on, and set the units to point (Tools->Options->Draw->General->Unit of measurement) and the grid resolution to 60 (Tools->Options->Draw->Grid->Resolution->Horizontal/Vertical). Save the file as test1.odg 2. Close test1.odg (or leave it open). Copy test1.odg to test2.odg 3. Open test2.odg. Set the grid resolution to 20. Save test2.odg 4. Open test1.odg. The grid displays initially displays with a resolution of 60, as set for that document. Now check Tools->Options->Draw->Grid and see that resolution shows "20" instead of "60", the setting of the document. Close the Options dialog. 5. Toggle Snap to Grid (View - Snapguides - Snap to grid). Suddenly, the grid displays with a resolution of 20 rather than 60. This also happens when turning visibility on/off (View - Grind and helplines - Snap to Grid) # Expected behavior Similar to document options such as Drawing Scale, Units of Measurement, etc., also grid settings should be correctly saved and restored when the document is opened again.
Reproduced in: Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 5cd9de202765e243e41416802f3e4486b8a96f16 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded A solution is already suggested in bug 78035, marking as a duplicate. Thank you! *** This bug has been marked as a duplicate of bug 78035 ***