Bug 117133 - Option for grid subdivision do not persist when using points as measurement unit
Summary: Option for grid subdivision do not persist when using points as measurement unit
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
5.4.6.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Measurement-Units Grid-Helplines
  Show dependency treegraph
 
Reported: 2018-04-21 01:45 UTC by Michael Epley
Modified: 2019-06-08 19:02 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Epley 2018-04-21 01:45:41 UTC
Description:
When using points as the measurement unit, setting the grid subdivisions per unit size does not appear to persist, and is reset on restart of libreoffice (all applications: draw, impress, writer, etc). 


Steps to Reproduce:
0. I'm able to reproduce on a (relatively) new, clean install of Fedora 27; I have not attempted to reproduce in a pristine VM. This issue does not appear to effect all measurement types, such as millimeters/centimeters, but I did not exhaustively test all measurement types.
1. Select "points" in the Tools menu >> options... >> LibreOffice Impress/Draw" >> General >> Unit of measurement; save via "OK" button.
2. Modify the grid size and subdivisions in the Tools menu >> options... >> LibreOffice Impress/Draw" >> Gird >> Resolution/Subdivision ; enter 72.0 for all values here; save via "OK" button.
3. Restart libreoffice.
4. Inspect the grid size and subdivisions in the Tools menu >> options... >> LibreOffice Impress/Draw" >> Gird >> Resolution/Subdivision.

Actual Results:  
The grid resolution is typically preserved and for saved value of 72.0 pt, after restart the grid resolution is still 72.0 pt. However, for a saved value of 72 (spaces) grid subdivisions, after restart a value of 74 spaces will be presented . The new grid size will result in incorrectly positioned elements when snapping to grid points, other objects, etc. 


Expected Results:
The grid subdivision option should be correctly preserved.


Reproducible: Always

User Profile Reset: Yes


User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36
Comment 1 Buovjaga 2018-04-23 11:50:32 UTC
Repro.

Arch Linux 64-bit
Version: 6.1.0.0.alpha0+
Build ID: 14184060bd2249a492ea44d36463914c421e6ce5
CPU threads: 8; OS: Linux 4.16; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on April 23rd 2018
Comment 2 Michael Epley 2018-11-22 18:28:12 UTC
Verified as still present in Version: 6.1.2.1, Build ID: 6.1.2.1-3.fc29