[Libreoffice-bugs] [Bug 131149] New: Super/Subscript and Line Spacing options in menu can't be unchecked (with text box objects)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Mar 5 10:37:25 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=131149

            Bug ID: 131149
           Summary: Super/Subscript and Line Spacing options in menu can't
                    be unchecked (with text box objects)
           Product: LibreOffice
           Version: 6.4.1.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: brian at osdinitiatives.com

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200305/2cc5fe03/attachment.htm>


More information about the Libreoffice-bugs mailing list