Inkscape.org
Forum Issues, News, and Announcements Weird stroke round style behaviour? Probably a bug hanging around from long time
  1. #1
    Andrea P. Andrea P. @Ishmadrad

    Hallo. I decided to write about this problem I have, again.
    I saw it in the past for long time, and I simply hope to bring it to the surface again. I don't know if there's a better way to give feedback, eventually give me an hint in the answers.

    Here's the problem (see the uploaded picture).

    • Draw a closed shape, for example with Beziers tool, doing something like a rectangle. 
    • Set a stroke with round joins and caps.
    • Set the thinkess of the stroke under 0,9 mm.
    • BAM! One of the nodes (the first one you drew) turns squarish, ruining your shape. 

    If you make the stroke bigger, the issue disappear. If you reduce it again, the issue return.

    The only workaround I found, but it's very annoying, is to forethink the issue, then starting to draw the shape along a side, not in a corner, so the initial node is found along a line, then the issue is "invisible", 'cause it stays along a line, not in the corner. However if you then make operations with other shapes (ie. pasting them together), probably the node will become another one, so the squarish corner will return, along the path.

     

    I'm working with Inkscape 1.1.2 (0a00cf5339, 2022-02-04, custom), but I saw this issue even in 0.9x versions.

    2022 04 25 13 50 00  New Document 1   Inkscape
  2. #2
    Polygon Polygon @Polygon🌶

    Unfortunately this is a "well known" bug that made it also into 1.2beta. Can you try Path->Stroke to Path if it will resolve the issue? I know it´s no longer a stroke.

  3. #3
    Andrea P. Andrea P. @Ishmadrad

    Indeed, "Path->Stroke to Path" fix the thing, but of course I can't work on that geometries anymore, so it's a "last resort" thing that I don't love (actually, as I wrote before, I prefer to put additional nodes hoping that the weird one will move along the path, in a position where it's less annoying, or breaking the path in a specific point, even it's a bad solution this too).

  4. #4
    Polygon Polygon @Polygon🌶

    Break path at selected node at that special corner will work and maintains fill color as 0,69mm stroke width will do. I already asked in dev-chat - but no reply so far.

  5. #5
    Tyler Durden Tyler Durden @TylerDurden

    This is a rendering bug that only appears in the Inscape workspace. It is likely an upstream bug in the render engine (Cairo) that Inkscape uses.

    Depending on the destination of the artwork, it may be an inconsequential. i. e. Where is a sub-millimeter stroke going to be seen that the corner shape is a concern?

  6. #6
    Andrea P. Andrea P. @Ishmadrad
    TylerDurden

    Where is a sub-millimeter stroke going to be seen that the corner shape is a concern?

    Of course, I can only speak for me, however I often like to draw using real-life equivalents, so my page is a standard A4, and my "pencil" is usually between 0,5 and 0,7 mm. I keep seeing those squarish corner... everywhere 😄. Also, if I re-use the same object for a left / right side of a more complex shape that have a line of symmetry, on a side I'll have the squarish corner, on the other not. 

    Sure, I know, it's a minor thing... However this would force me to draw with a more bigger scale, just to avoid that issue. I simply pointed out, hoping for a better new version; that's all.

    2022 04 26 18 41 40 Caccia X Sky Aces.Svg   Inkscape
  7. #7
    Aero Aero @Aero◻️
    *

    This issue is avoided by selecting a page template from the Welcome screen (always scale 96 per inch).

     

    A4 Welcome Screen
    Pref Welcome
  8. #8
    Andrea P. Andrea P. @Ishmadrad
    *
    Aero

    This issue is avoided by selecting a page template from the Welcome screen (always scale 96 per inch).

    So, it's directly related to document DPI settings. Ok, I have to think more about it, and how this impact my drawing exportation in PNG at high resolutions.

    PS: of course, if I choose the "A4 leaflet" template, the issue is there, 'cause it's set to 200 dpi.

    EDIT: ok, I saw your picture, thanks. Now I'm curious... Why those templates in the welcome screen are different from the standard "new" document? When I search in document properties I find no apparent differences (probably 'cause it doesn't show the DPI in A4).

  9. #9
    Aero Aero @Aero◻️

    The difference in document properties.

     

    25.4
    96
Inkscape Inkscape.org Inkscape Forum Forum Issues, News, and Announcements Weird stroke round style behaviour? Probably a bug hanging around from long time