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: 2023-06-11 14:28 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
Comment 3 QA Administrators 2021-06-08 03:29:09 UTC Comment hidden (obsolete)
Comment 4 Sophie Sipasseuth 2023-06-08 08:03:54 UTC
The bug seems to no longer be present in this version of Libre Office:

Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: f97a7b965be154824e108802b386e3132b0a237a
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: fr-FR
Calc: CL threaded
Comment 5 Sophie Sipasseuth 2023-06-08 08:09:46 UTC
I am not sure because, in my Libre Office, the resolution of the grid is in centimeters and not in points.
But, perhaps it is because my Libre Office is in French and not in English.
Comment 6 Buovjaga 2023-06-08 08:12:25 UTC
Still repro

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 756254beedf2220a7602c81059ae1d70589072ac
CPU threads: 8; OS: Linux 6.3; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 7 June 2023
Comment 7 Michael Epley 2023-06-11 14:28:20 UTC
Still reproducible per original instructions on

Fedora 37 // LibreOffice Version: 7.4.6.2
Build ID: 40(Build:2)
CPU threads: 12; OS: Linux 6.3; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded