Created attachment 137238 [details]
Document with removed hard anchored settings
The attribute text:anchor-type (values as-char, char, frame, page, paragraph) exists as attribute of the <draw:frame> element (ODF 19.754) and as attribute of a <style:style> element of style family graphic (ODF 20.408).
If an element does not have an own value for a property, then the value from the assigned style should be used. But LibreOffice sets "as-char" instead using the value from the graphic style.
Unpack the attached document and notice, that the <draw:frame> elements have no own attribute text:anchor-type, but the assigned styles have text:anchor-type="paragraph".
Open the file in LibreOffice. Notice that the images are anchored as character.
Because LibreOffice always writes the text:anchor-type attribute to the <draw:frame> element the problem is not directly obvious in daily use. But it prevents a proper handling of styles as requested in bug 113376 or bug 32484.
Setting to NEW
** Please read this message in its entirety before responding **
To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.
There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.
If you have time, please do the following:
Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/
If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.
Please DO NOT
Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not
appropriate in this case)
If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/
2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword
Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa
Thank you for helping us make LibreOffice even better for everyone!
The error is still in Version: 126.96.36.199.alpha0+ (x64)
Build ID: 9c5dbbe4b0a62ff1af009beb00f1fc45318dad79
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win;
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-02-27_20:03:12
Locale: de-DE (en_US); UI-Language: en-US
with latest version 188.8.131.52 the anchor-type default to-char (text:anchor-type="char")
I find this behavior extremely annoying, even taunting, since with this version it is finally been added the option to don't allow overlap of image/frame objects.
it's impossible to set up a proper default setting for importing image, which anchor need to be manually changed for every single one.
With 184.108.40.206, I set style:graphic-properties text:anchor-type="as-char" in the styles.xml file. When I paste an image, the real anchor-type affected by LibreOffice to the image is "char"...
It's work fine with 220.127.116.11