https://bugs.documentfoundation.org/show_bug.cgi?id=98453

            Bug ID: 98453
           Summary: EDITING: Draw units incosistency
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Draw
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: riggra...@gmail.com

Description
In Draw, when opening a drawing that was created in different units of
measurement that the ones defined in Options Draw General, displays and perform
with that units and not the ones defined originally in the drawing.


Expected behavior:
Draw should adjust the displaying and work of the units for that file in that
instance of the program.




Steps to reproduce
Create a new drawing
Select Options Draw General
Set Units of measure to meters 1:100 and save it
Draw a square (say 10 m by 10 m)
draw a dimension line that it will measure meters
Save the file to testmeters.odg and close

Create a new drawing
Select Options Draw General
Set Units of measure to inches 1:1 and save it
Close the file without saving
Open the Testmeters.odg from the open file icon or directly by double clicking
in it
select the square
Look in the sidebar for the position and size properties of the figure
The values are in inches but the dimension line is in meters and the drawing
originally was created in meters.
Notice in the status bar that the dimension of the figure is in inches

The dimension lines displays the measures in meters but, if selected, the units
in the sidebar and in the status bar are in inches.

Right click in the rulers and display measures of meters which is OK

Selecting the figure and using the context menu options with right click,
displays the width and height in inches also.

Trying to change the dimensions to 9 m by 9 m in that window or in the sidebar,
typing the number and the “m” symbol of meters will result in automatic inches
conversion.

Trying to change the units in Tools Options Draw General, display already the
meter units, but if select the OK button to update, the units in the drawing
won’t change.

As a workaround, to display and work correctly, it is necessary to close the
file, create a new drawing file, change the units, in this case to meters,
close without saving and then open the file to display correctly and be able to
work on it.

The trouble is when working in two different drawings with different units. If
the units are set to centimeters and open a drawing in meters and another
drawing in inches, the two of them displays values in centimeters.

Even more, looking in Tools Options Draw General, for each file, displays the
units correctly as they were set.


Tested with 
LO 5.1.1.1 (RC1)
LO 5.0
LO 4.4.3.2
LO 3.6.7
LO 3.3.0
AOO 4.1.1
AOO 3.2.1

So I believe is inherited

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to