Bug 135988 - Grid resolution should work at drawing scale, not page scale.
Summary: Grid resolution should work at drawing scale, not page scale.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
6.3.6.2 release
Hardware: x86 (IA32) macOS (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Measurement-Units
  Show dependency treegraph
 
Reported: 2020-08-21 11:45 UTC by Lea Rochester
Modified: 2020-09-07 14:32 UTC (History)
4 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 Lea Rochester 2020-08-21 11:45:22 UTC
Description:
The grid settings field (Grid>Resolution>Horizontal) does not display units at the current drawing scale, but the resulting grid is a function of the drawing scale setting (General>Drawing scale). 

In order to achieve the desired grid setting it is necessary to enter a calculated value (resolution = grid / scale), resulting in very small values in the entry field at higher scales.

The precision of the entry field limits the range of values, which restricts the possible grid size at higher scales.

A similar issue was raised in "Bug 44267 - Two decimal digits are insufficient for specifying object position and size"

A more intuitive solution would be to have the user enter the desired grid value at the current drawing scale, using a choice of units. In this case, two significant figures would be a reasonable precision for the field (e.g. 5 mm instead of 0.01 cm) 


Example:
I want to draw a building plan and set the units to centimetre and the scale to 1:50. I want to work on a 0.5 cm grid, but I have to set the grid resolution to 0.01 cm (0.5 \ 50 = 0.01). 


Steps to Reproduce:
1. Set "General>Settings>Unit of measure" to Centimetre
2. Set "General>Scale>Drawing scale" to 1:50
3. Set "Grid>Resolution>Horizontal" to 0.01 cm

Actual Results:
The grid is set to 0.5 cm

Expected Results:
It would be more intuitive if the grid was set to 0.01 cm


Reproducible: Always


User Profile Reset: No



Additional Info:
The entry field should use the current drawing scale and allow the user to select a choice of units independent of the current units of measure. For instance enable the user to enter 5 mm even if the units of measure are Metre.
Comment 1 Regina Henschel 2020-08-22 11:55:22 UTC
To get full precision for entering position or size, you need to set the measurement to Millimeter. Then you can enter up to 1/100mm and that is the internal unit. More precision is not possible.

Grid and rulers refer to the paper. Snap line, snap point, 'Position and Size' dialog and measure lines consider the scaling. It is indeed unhandy to manually calculate the needed entries for grid and manually transform the rulers according the scale.

I can imagine a setting to consider the scaling for grid and rulers too. How to have this in the UI, would be a task for the design team.

But in general, for precise drawings I always work with snap guides and 'Position and Size' dialog and use zoom.
Comment 2 Telesto 2020-08-22 19:49:31 UTC
(In reply to Regina Henschel from comment #1)
> I can imagine a setting to consider the scaling for grid and rulers too. How
> to have this in the UI, would be a task for the design team.
Comment 3 Heiko Tietze 2020-09-07 14:32:30 UTC
This issue of different units is not new, it has been reported in bug 72662 for line vs. page properties. My proposal is bug 72662 comment 4, which was challenged by Luke. I'm more afraid of these double controls cluttering the UI.