https://bugs.freedesktop.org/show_bug.cgi?id=80926
Priority: medium
Bug ID: 80926
Assignee: [email protected]
Summary: Moving paragraph-bound anchor on ODT file load.
Severity: major
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: UNCONFIRMED
Version: 4.4.0.0.alpha0+ Master
Component: Writer
Product: LibreOffice
Created attachment 102284
--> https://bugs.freedesktop.org/attachment.cgi?id=102284&action=edit
Test document with broken anchor loading.
The attached file just contains a single, paragraph-anchored draw object (a
line) on the second page, which has a negative y-Offset.
This is the definition of the line in the ODT:
<draw:line text:anchor-type="paragraph" draw:z-index="0" draw:style-name="gr1"
draw:text-style-name="P2" svg:x1="0cm" svg:y1="-1cm" svg:x2="2.88cm"
svg:y2="-1cm"><text:p/></draw:line>
So the line should start right above the anchor, but it doesn't, if the zoom
factor is larger then 91 on load - at least for me the tipping point is 91, but
that may be resolution dependant.
If the zoom factor is higher the 91, the X-offset is moved to the left on load.
And it's not a visual glitch, as the "Position and Size" dialog shows the wrong
offset. If you save or print the document, it's broken. If the document is
saved and loaded, the anchor is aved wrong and it moves again on load depending
on the zoom value.
I actually did a *bi*bisect without knowing about the "Zoom" factor, and the
bug showed up first at a7e54955e9f49e8b59dfd8c4533785a680b1796c, but this might
be bogous, as I didn't knew anything about Zoom at this time.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs