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

            Bug ID: 146728
           Summary: Direct formatting is applied to paragraph text even if
                    the paragraph previously uses paragraph style and does
                    not use direct formating
           Product: LibreOffice
           Version: 7.3.0.0 alpha0+
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: suokunl...@126.com

Created attachment 177515
  --> https://bugs.documentfoundation.org/attachment.cgi?id=177515&action=edit
testTextStyles.odt

The attached test doc contains a simple paragraph formatted using the Title
paragraph style, without any direct formatting. When I type in a Chinese
character within the paragraph, the new typed character will have direct
character formatting applied.

Steps to Reproduce:

1. Open the test doc in Writer. Notice that the paragraph has the "Title"
paragraph style applied, and there is no direct formatting (which can be
observed from the Styles Inspector sidebar deck).

2. Type any Chinese character (e.g. the character 的 which can be typed by
hitting the keys "d" and "e" using the ibus-libpinyin input method) anywhere
within the paragraph text. (Note: copy-paste from web-browser as unformatted
text does not trigger this bug)
--> Bug: the newly typed-in text has direct formatting applied.

3. Change the font size of the Title paragraph style to a smaller size.
--> The font size for the newly typed-in text remains unchanged (due to it was
applied direct formatting in step 2). I need to apply "clear direct formatting"
to make the font size same as other characters.

Current Result:
See comment "-->" in above step 2.

Expected Result:
When I type-in any text in this paragraph, it should use the Title paragraph
style and no new direct character formatting should be created or applied to
the newly inserted text.

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 8ede76d9accc8e3b1ea2c8e332cbb373a1b4d9cf
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: zh-CN (zh_CN.UTF-8); UI: zh-CN
Build Platform: Fedora34@X64, Branch:master, bibisect-linux-64-7.3-CN
Calc: threaded

Fedora 34, Gnome x11, ibus-libpinyin 1.12.1.

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

Reply via email to