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

            Bug ID: 174549
           Summary: The font change for the list number and the text is
                    not interconnected.
           Product: LibreOffice
           Version: 26.2.2.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Under certain list manipulations, the numbering font diverges from the item
text font when changing the font via the font selector on the top panel, when
the entire list is selected.

Initially, after creating a list, selecting the entire list and changing the
font applies the changes to both the item text and the list numbering
simultaneously.

If you place the cursor before the list number (or select the numbering
directly) and change the font via the font selector on the top panel, the
synchronization breaks. Subsequently, if you select the entire list and attempt
to change the font for all items, the new font is applied only to the text; the
numbers retain their separately applied font.

If you select the entire list and change the list type via the context menu
(List -> Bullets and Numbering... -> Ordered), the numbering font resets to the
one defined by the style, and it can no longer be changed by placing the cursor
next to the number. However, this action restores the ability to change the
font for both the numbering and the text simultaneously by selecting the entire
list and using the font selector.

Steps to Reproduce:
1. Create a new document in Writer
2. Add some numbering list
3. Select full list and change font via the font selector on top panel
4. Set cursor before number of any line and change font again
5. Select full list and change font via the font selector on top panel
6. Select full list and change type of list via "List -> Bullets and Numbering
-> Ordered".
7. Set cursor before number of any line and change font again
8. Select full list and change font via the font selector on top panel

Actual Results:
After step 3 a font of both number and text will be changed.
After step 4 only font of number will be changed.
After step 5 only font of text will be changed.
After step 6 a font of number will be reseted.
After step 7 nothing changed
After step 8 a font of both number and text will be changed.

Expected Results:
At least steps 4 and 7 must lead to the same result.
Step 6 should not reset the font without a direct font changing.
It would be good if selecting the entire list always behaved in the same way
(steps 3, 5, and 8 change the font of both the number and the text entirely).


Reproducible: Always


User Profile Reset: No

Additional Info:
Still repro on:
Version: 27.2.0.0.alpha0+ (X86_64)
Build ID: 43122915b46607a724f238da7363b569431752dd
CPU threads: 32; OS: Linux 6.12; UI render: default; VCL: kf5 (cairo+xcb)
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
Calc: CL threaded

At least repro on:
Version: 26.2.2.1 (X86_64)
Build ID: 251225596f12c6d3f2985252eb1eaca9640c7bfd
CPU threads: 32; OS: Linux 6.12; UI render: default; VCL: kf5 (cairo+xcb)
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
Calc: CL threade

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to