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

            Bug ID: 150625
           Summary: calculation for placement of horizontal ruler in sm
                    Formula component incorrect
           Product: LibreOffice
           Version: 7.5.0.0 alpha0+ Master
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Formula Editor
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: vstuart.fo...@utsa.edu

As work on bug 125931 advances, on Windows seems calculation for placement of
horizontal ruler in sm Formula component is incorrect and depends on the zoom
level in use as a new formula OLE is being inserted, or when an existing OLE
formula is being edited.

When Writer canvas is zoomed to scale at which both edges of the canvas are
visible, as sm Formula component is opened the placement of the menu bar is
miscalculated and does not align with the canvas representation in the preview.

Once zoom of the canvas in Writer is increased so that the right edge is
hidden, placement of the ruler in sm Formula editor aligns correctly.


STR
1. open Writer
2. set page zoom so that both edges of page are visible
3. main menu Insert -> Insert OLE object -> Formula object
4. sm Formula modul opens
5. observe position of ruler element, shifted to right and does not align with
left edge of page preview shown in sm Formula

6. close sm Formula panel
7. back on Writer canvas, set a zoom so right edge of canvas is hidden--the
right margin can remain (about 180% on my 1920x1080 display).
8. repeat main menu Insert -> Insert OLE object -> Formula object
9. sm Formula module opens
10. observe position of ruler element, no longer shifted and aligns with left
edge of page preview shown in sm Formula


=- Testing -=
Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 64be7052ba7e02e248412222098e07a5f4106456
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to