Issue 127005

Summary: Maximizing Line Width of borders makes them overlap and go out of the slide
Product: Impress Reporter: Ugnius Dovidauskas <ugnius>
Component: formattingAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Normal    
Priority: P5 (lowest) CC: luiglm, oooforum
Version: 4.1.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
screenshot showcasing the problem none

Description Ugnius Dovidauskas 2016-06-18 21:36:45 UTC
Created attachment 85582 [details]
screenshot showcasing the problem

To reproduce the issue:
1. Create a new presentation (or open any old one)
2. Select any border
3. Set the Line Width to 1.97"
Expected result: The border does not overlap and does not extend out of the slide. The border itself should be pushed deeper into the slide. 
Actual result: It goes out
Comment 1 oooforum (fr) 2016-06-20 08:33:24 UTC
Better than a screenshot, could you provide ODP document?
Comment 2 Lisandro 2016-07-19 15:53:30 UTC
Lisandro Montano, 7/19/2016

I was able to reproduce the problem mentioned, but I don’t think it is a bug. I’ve tried to see how it works in Microsoft Power Point, and you have the option to use really big values for width and in all cases, it will grow even beyond the slide limits and overlap other borders that have the similar widths.

I think it is a case with boundary values and in my opinion, a solution would be to use the menu that gives default and most used widths instead of a value where you can grow it to 1.97”, in that case, we would have a limit of 6.0 pt. and the option to use line width menu if we expand the option mentioned. That way, we guide the user to the expected purpose of the tool and avoid them to use really big values unless they really want to, because even mistyping a number can draw really thick lines.

I have done also some follow-up tests to verify the relationship between these configurations and drawing tools and I found the following behavior:

Mac OSX El Capitan
Open Office version 4.1.2

Steps:
1.	Create a new presentation using Impress/Presentation.
2.	Use Empty Template to avoid confusion with the background.
3.	Select Line tool in the menu at the bottom of the page and draw a line.
4.	Select Arrow tool in the menu at the bottom of the page and draw an arrow.
5.	Select the arrow you draw and change the line type to fine dashed and the width to 0.10”.
6.	Draw another line and verify it draws it properly without changing the default configuration.
7.	Select arrow drawing tool again.
8.	Change the line type to fine dashed, update the width to 0.10”, use the tool on the left of line design to define a different type of arrow and draw the arrow.
9.	Arrow is properly drawn, but the arrow design is not updated.
10.	Select line tool and draw a line (it draws a line maintaining the format given to the arrow, this means that updates line default configuration).
11.	Start increasing the width of the line, and you’ll notice it is not a line, it is an arrow of the type you selected in step 8, that has the head of an arrow in default size when it was drawn.

Expected Result:
Line tool should always draw a line, otherwise, what’s the purpose of having line and arrow drawing tools.

Actual Result:
Line tool is drawing an arrow

What I found interesting here is that under line tab, you have options to define line properties and arrow styles and besides you have another arrow styles tab. In this case, the problem is that the option available to change arrow types in the top menu is affecting the arrow styles section under line tab when performing the change while selecting a drawing tool. This update causes that future lines will be drawn as arrows.

I think this should be properly separated to avoid this type of confusions or unify the line and arrow tools. It is really confusing for the user, because you expect line tool to draw lines and arrow tool to draw arrows.