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
Created attachment 182043 [details] clip when writer zoom was set exposing both page edges
also happens in 7.3, so not related to work on bug 125931 to add Sidebar to sm Formula editor Version: 7.3.6.1 (x64) / LibreOffice Community Build ID: 92b673af3a5e8f7cf4716be88dfaca424612f244 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
FTR: the problem of incorrect positioning of the ruler was exactly the same in OOo 3.2.0. Also same in my testing on Ubuntu.
(In reply to Mike Kaganski from comment #3) @Mike, thanks for having a look back. At the moment on system I have at hand I only had back to 7.3.6.1 to work against.