Bug 135465

Summary: Line editing in "Impress" and "Draw" edits unselected lines
Product: LibreOffice Reporter: bugzilla
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: rb.henschel
Priority: medium    
Version: 6.3.6.2 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description bugzilla 2020-08-05 15:47:02 UTC
Description:
Inserted two perpendicular lines. Attempted to edit style and color of individual lines to something different. Both lines were edited even though only one was selected.

Steps to Reproduce:
1.Insert a horizontal line and edit style dashed, color blue.
2.Insert a crossing vertical line and edit style solid thick, color black.
3.

Actual Results:
Both lines are changed to the last edit even though only one was selected.

Expected Results:
Only the selected line should have been edited.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
The same thing happens in both "Impress" and "Draw".
Comment 1 Regina Henschel 2020-08-05 20:59:38 UTC
@bugzilla@couldbe.nulluser.com: How do you do "edit style dashed, color blue"? Please describe step-for-step.
Comment 2 bugzilla 2020-08-05 23:50:33 UTC
From Libre Impress:

Select "Insert Line"
Draw a horizontal Line

Select "Insert Line"
Draw a vertical Line

Select one of the lines
Select Format/Style/Edit Style
Select Line
Select Style Dropdown
Select ---- Dashed
Select Color Dropdown
Select a new color
Select Width: + several times for a width of 0.10
Select OK

You will see that BOTH lines changed.
Comment 3 Regina Henschel 2020-08-06 00:19:34 UTC
Each object has "direct formatting", which affects only this object, and it has a "style" assigned. Direct formatting of a property has precedence over the settings in a style for that property. A style is usually assigned to many objects. That allows to  simultaneously change a property in many objects.

When you use
   Select Format/Style/Edit Style
then you change the style. And then it is the correct behavior, that all objects, which have this style assigned, will change. If you want a property setting only for one special object, you have to use direct formatting.

The LibreOffice project provides several ways for getting help. Have a look at https://www.libreoffice.org/get-help/community-support/
Comment 4 bugzilla 2020-08-06 03:15:14 UTC
My mistake!

Thank you.