Bug 121333 - Changing character format in a single paragraph changes all paragraphs with same paragraph format
Summary: Changing character format in a single paragraph changes all paragraphs with s...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4.7.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-10 17:42 UTC by GwenDragon
Modified: 2018-11-12 12:47 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Writer file to test the issue (17.10 KB, application/vnd.oasis.opendocument.text)
2018-11-10 17:43 UTC, GwenDragon
Details
Screerecording (GIF) of issue (562.64 KB, image/gif)
2018-11-10 17:50 UTC, GwenDragon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description GwenDragon 2018-11-10 17:42:23 UTC
Description:
When i select a single paragraph by doubleclick and change its character format, all paragraphs with same are changed.

Steps to Reproduce:
1. Open standard-defekt1.odt in Writer
2. Triple-click the paragraph with text "Betreff: Meeting November 2018' to mark it completely
3. Open context menu on selected paragraph to change font style
4. Select a different bold font f.ex. Noto Sans with style Bold and confirm with OK


Actual Results:
Selected paragraph and all others with same format 'Standard' have changed to Noto Sans Bold.

Expected Results:
Only the one selected paragraph change to Noto Sans Bold.


Reproducible: Always


User Profile Reset: No



Additional Info:
On Windows 10 x64 (6.1.3.2 x64) and Debian 9 x64 (6.1.3.1 RC x64, from stretch backports)

Font Kallos ITC is a not installed font on the OS

See testcase file standard-defekt1.odt
Comment 1 GwenDragon 2018-11-10 17:43:34 UTC
Created attachment 146524 [details]
Writer file to test the issue
Comment 2 GwenDragon 2018-11-10 17:50:31 UTC
Created attachment 146525 [details]
Screerecording (GIF) of issue
Comment 3 Oliver Brinzing 2018-11-10 18:23:10 UTC
reproducible with

Version: 5.4.7.2
Build-ID: c838ef25c16710f8838b1faec480ebba495259d0
CPU-Threads: 4; BS: Windows 6.2; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE); Calc: single

as mentioned above:
Font Kallos ITC is a not installed font on the OS

and attached document has several writer compatibility switches enabled,
including "use printer metrics for document formating".
Comment 4 Thomas Krumbein 2018-11-10 19:00:24 UTC
Document may be corrupt.

I can confirm the behaviour (Win 10, Lo 5.3.1.2 - x64), but I do not think, this is a LO problem.

The Document structure contains a lot of Word Templates (Paragraph and Character) (WW_xxx) and those templates will couse strange effekts sometimes. 

So, the best way ist to redesign the document and create it completly new without importing templates and without using "Copy&paste" becouse in this case sometimes the "WW_xxx" templates will be imported too!

I would say: No bug.
Comment 5 Regina Henschel 2018-11-10 20:36:16 UTC
The style "Default Style", which is applied to the paragraph, has the option "Auto update" enabled. You find this option in the tab "Organize" in the edit style dialog. You have marked not only single characters but a entire paragraph. Therefor the character change is applied to the entire paragraph and because of "Auto update" it does not only change the marked paragraph but the assigned paragraph style too.

We might discuss, whether it is necessary to mark from start to end to mark an entire paragraph or whether mark from start of paragraph to start of next paragraph is needed.
Comment 6 Xisco Faulí 2018-11-12 12:47:31 UTC
Setting the right status...