[Libreoffice-bugs] [Bug 111002] New: Paragraph style is lost after Clear Direct Formatting ( Ctrl+M)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Aug 1 19:27:58 UTC 2017


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

            Bug ID: 111002
           Summary: Paragraph style is lost after Clear Direct Formatting
                    (Ctrl+M)
           Product: LibreOffice
           Version: 3.6.0.4 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mikekaganski at hotmail.com

Prerequisites:
1. Two system input languages.
2. Options-Language Settings-Languages-Ignore system input languages is *NOT*
checked.

Steps to reproduce:

1. Create a new text document.
2. Create a new paragraph style, named e.g. "red". Modify it to have red
character color (to be easily visible). It is automatically set as current.
3. Type some characters in first paragraph (in first system language, e.g. in
Russian). Language in status bar should reflect currently selected language.
4. Add an empty paragraph.
5. Switch input language (I used English). Type some letters to make two other
paragraphs. Again, language in status bar should reflect currently selected
language.
6. Add new empty paragraph. Switch back the input language. Add some characters
to last paragraph (after empty one).

Having done the above, I had this:
==== CONTENT BEGINS BELOW ====
первый

second
third

четвёртый
====  CONTENT ENDS ABOVE  ====
They all were colored red (because their paragraph style was "red"). First and
last paragraphs had Russian language, middle two had English language.

7. Select the two middle paragraphs and apply "Highlight Color" tool.
8. Select text of first of these two middle paragraphs and use drop-down next
to "Highlight Color" tool to apply "No Fill".
9. Select text of second of these two middle paragraphs and use Ctrl+M (Clear
Direct Formatting).

At this stage, both middle paragraphs should have returned to normal state: no
highlight, red text color.

10. Save file (without doing anything else after step 9). Close and reopen.

Expected result: text should stay as it was prior to saving.
Actual result: second of the two middle paragraphs (the one on which Ctrl+M was
applied) lost paragraph style and reverted to Default style (and it is black).

Tested with Version: 5.4.0.3 (x64)
Build ID: 7556cbc6811c9d992f4064ab9287069087d7f62c
CPU threads: 4; OS: Windows 6.19; UI render: default; 
Locale: ru-RU (ru_RU); Calc: group

and Version 3.6.0.4 (Build ID: 932b512)

but not with LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735

This is loss of formatting.

-- 
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/20170801/779a5871/attachment-0001.html>


More information about the Libreoffice-bugs mailing list