Bug 126100 - Arc with concave arrow has rendering error in certain configurations and arrow angles
Summary: Arc with concave arrow has rendering error in certain configurations and arro...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All Windows (All)
: low minor
Assignee: Not Assigned
Depends on:
Blocks: Shapes
  Show dependency treegraph
Reported: 2019-06-26 06:04 UTC by Buovjaga
Modified: 2019-06-28 18:40 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

Arc with arrow (23.48 KB, image/png)
2019-06-26 06:04 UTC, Buovjaga
Example ODG (8.86 KB, application/vnd.oasis.opendocument.graphics)
2019-06-26 06:04 UTC, Buovjaga
video shwoing the bug in some conditions (1.76 MB, video/mp4)
2019-06-26 19:27 UTC, BogdanB

Note You need to log in before you can comment on or make changes to this bug.
Description Buovjaga 2019-06-26 06:04:24 UTC
Created attachment 152405 [details]
Arc with arrow

1. Open Draw
2. Pick the Arc tool (from the Insert Basic Shapes button in Drawing toolbar)
3. Draw an arc
4. Right-click the arc, Line
5. Width 0,10 cm, arrow end style: Arrow concave, OK

The rendering error is present both with and without OpenGL, but the appearance is different (see screenshot).

Not seen in 4.3.0.

I will bibisect this later.

Version: (x64)
Build ID: 9a2fbfa3cc1da8bd9388d5b4c780e86f0dccc791
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-06-25_23:12:21
Locale: fi-FI (fi_FI); UI-Language: en-US
Calc: threaded
Comment 1 Buovjaga 2019-06-26 06:04:43 UTC
Created attachment 152406 [details]
Example ODG
Comment 2 Buovjaga 2019-06-26 06:20:53 UTC
This is only seen with the default arrow width. If it is changed from 0,35 cm to 0,3 or 0,4 there is no error.
Comment 3 Buovjaga 2019-06-26 16:39:05 UTC
Weird, now I cannot repro this from scratch on another machine. The example file looks bad even in 3.5.0 :(
Maybe somehow a combination of the shape size and arc angle?
Comment 4 BogdanB 2019-06-26 19:27:10 UTC
It's something like an pac-man between arrow and line...
A little circle... Maybe it's a wrong formula when the arrow meet the line...
See the video with some tests...

Build ID: a187af327633f5f00363be5131bd21a13e0f1a7b
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ro-RO (ro_RO.UTF-8); UI-Language: en-US
Calc: threaded
Comment 5 BogdanB 2019-06-26 19:27:36 UTC
Created attachment 152432 [details]
video shwoing the bug in some conditions
Comment 6 Buovjaga 2019-06-28 18:40:22 UTC
Thanks for the vid. I also found a good way to tease out the rendering error: grab a corner scaling handle and start moving it around. This combined with dashed style made (some version of) the error appear even in version 3.3.0 and 3.5.0.