Created attachment 126499 [details]
center text in frame
I don't know when this bug started. I think it's been like this for a while, but I didn't notice it until now. If a frame style is set to center the text inside it, the setting is not restored when saving & closing the document and then re-opening it.
To test, create a new document with a frame. Change the frame style to center the text. Do NOT just select the frame and open the properties and change it from there. It is only the frame style that does not keep this setting, not when done on a per frame basis.
See attachment for a sample document. This document had the text setting in the frame style set to centered when it was saved, but the setting was not saved with the rest of the document.
Hello David, *,
thanks for reporting this bug :) Alas, I cannot confirm it with
OS: Debian Testing AMD64
LO: Version: 220.127.116.11
CPU-Threads: 4; BS-Version: Linux 4.5; UI-Render: Standard;
Gebietsschema: de-DE (de_DE.UTF-8)
LO Version: 18.104.22.168
CPU-Threads: 4; BS-Version: Linux 4.5; UI-Render: GL;
Gebietsschema: de-DE (de_DE.UTF-8); Calc: group
LO: Version: 22.214.171.124
Build ID: 066b007f5ebcc236395c7d282ba488bca6720265
CPU Threads: 4; OS Version: Linux 4.5; UI Render: default;
Locale: de-DE (de_DE.UTF-8)
... :( 126.96.36.199 is Debian's own version, the other two are parallel installed ones, following the instructions fromhttps://wiki.documentfoundation.org/Installing_in_parallel/Linux.
What I did:
1. downloaded your attachment
2. Opened it in LO
3. Clicked on the frame and on the Center button in the toolbar "Frame"
4. <Esc> and then click inside the frame
5. Clicked on the "Center horizontally" button in the toolbar "Formatting"
6. Saved the document, closed and reopened it
(and this for all three mentioned versions above)
1. Opened it in LO
2. set orientation to "Align left" (for both the frame as well as the text)
3. Opened it again
4. marked the frame
5. rightclicked on it and selected "Object..."
6. changed "Horizontal" from "Left" to "Center" under "Position"
7. closed the dialog
8. <Esc> and clicking in the frame to click on the text
9. clicked on "Center horizontally" button in the toolbar "Formatting"
10. Saved the document, closed it and reopened it
(as above for all three mentioned versions)
1. Created a new document in Writer
2. "Insert - Frame" (in Debian's versions, in LO's "Insert - Frame - Frame"
3. Either letting the default values or changing the height and width values to 7cm and 3cm and hitting <Enter>
4. Rightclick on the Frame and selected "Object..."
5. Confirmed, that its default value is "Center"
6. Hit <Enter>
7. <Esc> and clicked in Frame to insert the text "Test"
8. Clicked on "Center horizontally" button in the toolbar "Formatting"
9. Saved the document, closed and reopened it
(and again, for all three mentioned versions, but still no repro, sorry ... :( )
Would you be so kind to
a. to rename your user profile (https://wiki.documentfoundation.org/UserProfile#Resolving_corruption_in_the_user_profile) and test it again, please?
b. to disable or enable any option related to OpenCL (Tools - Options - LibreOffice - OpenCL) or OpenGL (Tools - Options - LibreOffice - View) and test it again, please?
Maybe we could find out, if it is related to one of these options and/or corrupt user profile or an extension or ... ;)
If I read your procedure properly, you did exactly what I said NOT to do. The frame *style* must be what is modified and not the frame directly. Go to the sidebar, select the frame style & formatting button, and change the frame style from there.
Yes, it is possible to select each frame and manually set it from it's own properties, but if you have a large document using many of the same style of frames, then it is much better to use the styles for what they are there for and not set things manually.
Hello David, *,
(In reply to David from comment #2)
> If I read your procedure properly, you did exactly what I said NOT to do.
> The frame *style* must be what is modified and not the frame directly. Go
> to the sidebar, select the frame style & formatting button, and change the
> frame style from there.
well, I seem to have misinterpreted your text, sorry ... :( After you mentioned the sidebar, I have tried to play around a little bit with rightclick on "Frame" -> "Modify" and changing "Vertical alignment" below "Content Alignment" on the tab "Options". There I can confirm your bug, so changing the status to "New".
Sorry for the inconvenience and have a nice afternoon
** 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 on a currently supported version of LibreOffice
(5.4.1 or 5.3.6 https://www.libreoffice.org/download/
If the bug is present, please leave a comment that includes the version of LibreOffice and
your operating system, and any changes you see in the bug behavior
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave
a short comment that includes your version of LibreOffice and Operating System
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)
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: http://webchat.freenode.net/?channels=libreoffice-qa
Thank you for helping us make LibreOffice even better for everyone!
Version 4.0.0 does not have the setting in the Styles & Formatting dialog for centering text within frames. By version 4.4.7 it was added. I did not try the versions in between to determine when it was added. But in versions 4.4.7 and 5.0.0 the option was available and when a document was opened they both restored it properly with the text centered, just as it had been saved. Then sometime between version 5.0.0 and version 5.1.0 it lost the ability to recognize that the document had been saved with the text centered in the properties under the Styles and formatting frame settings. It still has not been corrected as of version 5.4.0 and can only keep the text centered if the setting has been manually enabled directly in the properties for each individual frame, not from the Styles & Formatting properties.
Did some more testing. Version 188.8.131.52.alpha1 functions correctly. Version 184.108.40.206.beta1-buildfix1 fails to load the sample document with the text vertically centered in the frame.
Might something introduced in one of these commits have caused the regression of LO not restoring the setting when loading the document?
Fixed by bug 111891.
*** This bug has been marked as a duplicate of bug 111891 ***