Description: The check marks in the Format->Text->[Superscript, Subscript] and Format->Spacing->[Line Spacing 1, Line Spacing 1.5, Line Spacing 2] menu options persist after they have been used to remove the property. They correctly change the property on the selected text (as does the toolbar and sidebar buttons), but the check mark isn't removed. I can get all the options to have check marks even though they should be exclusive. It seems like the state of the selected text is not queried or properly communicated to the function that sets up the menu entries. It persists when selecting text (or placing the type bar) into several different text boxes. Placing the type bar on normal text, then invoking the menu "resets" the check marks. Double clicking in a box with subscript text and invoking the menu seems to "set" the subscript value. Double clicking on other text boxes with unmodified text will now show the incorrect check mark. However, double clicking in a box with subscript text and NOT invoking the menu, then double clicking in a box with unmodified text shows the correct cleared checkbox. The same behavior happens to the Format->Spacing->Line Spacing settings. This only applies to text placed in a 'text box' or other draw object added from the Basic Shapes toolbar button. When working with regular text, the check mark behavior is correct. It is also restricted to Writer. Steps to Reproduce: 1. Open Writer, new file 2. Create a text box or basic shape, add text. 3. Create a text box, add text, subscript it. 4. Check the Format menu (Subscript is checked correctly) 5. Double click in the normal text box 6. Check the Format menu (Subscript is checked incorrectly) 7. Select subscripted text, and use Format menu to change it to superscript 8. Double click in the normal text box 9. Check the Format menu (Subscript and Subscript are checked incorrectly) 10. Type in some standard text 11. Check the Format menu (both unchecked correctly) 12. Double click in the normal text box 13. Check the Format menu (both unchecked correctly) 14. Double click in the now superscripted text box 15. Check the Format menu (Subscript is checked correctly) Actual Results: see above Expected Results: see above Reproducible: Always User Profile Reset: No Additional Info: Probably not related to https://bugs.documentfoundation.org/show_bug.cgi?id=131087 but I found it while I was confirming the fix in 6.4.2.1. Version: 6.4.1.2 Build ID: libreoffice-6.4.1.2-snap1 CPU threads: 12; OS: Linux 5.3; UI render: default; VCL: gtk3; Locale: en-US (en_US.UTF-8); UI-Language: en-US Calc: threaded Also happens in: Version: 6.4.2.1 (pre-release, fresh install) Build ID: c92dba0b4728c0ec26c4b83e2c0fbf3284425375 CPU threads: 12; OS: Linux 5.3; UI render: default; VCL: gtk3; Locale: en-US (en_US.UTF-8); UI-Language: en-US Calc: CL
I tried to reproduce it 1. Open Writer, new file 2. Create a text box or basic shape, add text. 3. Create a text box, add text, subscript it. 4. Check the Format menu (Subscript is checked correctly) 5. Double click in the normal text box 6. Check the Format menu (DIFFERENT RESULT: Normal is checked) 7. Select subscripted text, and use Format menu to change it to superscript 8. Double click in the normal text box 9. Check the Format menu (DIFFERENT RESULT: Normal is checked) So for me everything looks right with Version: 7.0.0.0.alpha0+ (x64) Build ID: c63148ba139bd6b9ae7a0f9e24e51f29e5370963 CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win; Locale: de-DE (de_DE); UI-Language: en-GB Calc: threaded
(In reply to Brian from comment #0) > Steps to Reproduce: > 1. Open Writer, new file > 2. Create a text box or basic shape, add text. > 3. Create a text box, add text, subscript it. > 4. Check the Format menu (Subscript is checked correctly) > 5. Double click in the normal text box > 6. Check the Format menu (Subscript is checked incorrectly) Reproduced on Windows and Linux (master). In 4.4.7 and older, I had to first add Subscript to some menu. I reproduced with 4.4.7, but not with 4.3.0. I was looking into bibisecting with Linux 44max repo, but there is something wrong with it as I was unable to see commands added into menus!!
My last comment was wrong: it is important to open the Format menu when checking the actually subscripted text status. If you don't do this, the normal text will not be shown as subscripted in the menu either. I see this behaviour already in 3.5.0.
Dear Brian, 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 https://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://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Created attachment 180882 [details] Example .odf file showing inconsistent behavior of text in drawing objects Bug is still present in 7.3.4.2
Still present in version: 7.3.7.2 Ubuntu package version: 1:7.3.7-0ubuntu0.22.04.7