Bug report #19189

Dashed line showing incorrectly in legend

Added by Brenna Hughes almost 6 years ago. Updated about 5 years ago.

Category:Map Legend
Affected QGIS version:2.18.20 Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:no timely feedback
Crashes QGIS or corrupts data:No Copied to github as #:27018


I have a dash pattern of a dashed gray simple line with transparency overlain on a solid simple yellow line. It displays properly in the properties window, layers panel, map layer, print composer, and legend items list. However, in the legend itself, it will only display as a solid black line. I have tried adjusting the symbol width and height, icon spacing, and box spacing, but it does help. The custom dash pattern is set with Map units (ft).
(The problem went away when I made the custom dash pattern using pixels, so maybe this is only a minor problem...)

dash_legend.JPG (107 KB) Brenna Hughes, 2018-06-14 04:47 AM


#1 Updated by Jürgen Fischer about 5 years ago

  • Status changed from Open to Feedback

Please test with QGIS 3.4 - QGIS 2.18 reached it's end of life.

#2 Updated by Giovanni Manghi about 5 years ago

  • Resolution set to no timely feedback
  • Status changed from Feedback to Closed

Closing for lack of feedback.

Also available in: Atom PDF