Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom dash pattern changes when I change line stroke width #60687

Open
2 tasks done
VaclavC opened this issue Feb 20, 2025 · 0 comments
Open
2 tasks done

Custom dash pattern changes when I change line stroke width #60687

VaclavC opened this issue Feb 20, 2025 · 0 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@VaclavC
Copy link

VaclavC commented Feb 20, 2025

What is the bug or the crash?

I have defined a custom dash pattern (7mm dash 8mm space). It looks differently depending on line stroke width. Following screenshots are for line width 0,2mm and 0,4mm. There are two states of the dash pattern: one for "small" line width and second one for "bigger" line width.

Image

Image

Steps to reproduce the issue

  1. Create a scratch layer with LineString geometry
  2. Draw some line there
  3. Set layer symbology to Single Symbol / Simple line
  4. Create custom dash pattern for the line (I have 7mm dash and 8mm space, but exact values seems to be insignificant)
  5. Try to set Stroke width to different values (for me it occurs between 0,2mm and 0,4mm)
  6. Observe the pattern carefully

Versions

<style type="text/css"> p, li { white-space: pre-wrap; } </style>
QGIS version 3.40.3-Bratislava
QGIS code revision 2a274ab
 
Libraries
Qt version 5.15.3
Python version 3.10.12
GDAL/OGR version 3.4.1
PROJ version 8.2.1
EPSG Registry database version v10.041 (2021-12-03)
GEOS version 3.10.2-CAPI-1.16.0
SQLite version 3.37.2
PDAL version 2.3.0
PostgreSQL client version 14.15 (Ubuntu 14.15-0ubuntu0.22.04.1)
SpatiaLite version 5.0.1
QWT version 6.1.4
QScintilla2 version 2.11.6
OS version Ubuntu 22.04.5 LTS
 
Active Python plugins
katastralnimapa 0.1
gml_application_schema_toolbox 1.3.1
stahovanikm 0.1
joinmultiplelines Version 0.4.1
basemaps 1.0
qgis-ruian-plugin 1.2.1
db_manager 0.1.20
grassprovider 2.12.99
processing 2.12.99
MetaSearch 0.3.6
QGIS version 3.40.3-Bratislava QGIS code revision [2a274ab](https://github.com/qgis/QGIS/commit/2a274ab7754)

Libraries
Qt version
5.15.3
Python version
3.10.12
GDAL/OGR version
3.4.1
PROJ version
8.2.1
EPSG Registry database version
v10.041 (2021-12-03)
GEOS version
3.10.2-CAPI-1.16.0
SQLite version
3.37.2
PDAL version
2.3.0
PostgreSQL client version
14.15 (Ubuntu 14.15-0ubuntu0.22.04.1)
SpatiaLite version
5.0.1
QWT version
6.1.4
QScintilla2 version
2.11.6
OS version
Ubuntu 22.04.5 LTS

Active Python plugins
katastralnimapa
0.1
gml_application_schema_toolbox
1.3.1
stahovanikm
0.1
joinmultiplelines
Version 0.4.1
basemaps
1.0
qgis-ruian-plugin
1.2.1
db_manager
0.1.20
grassprovider
2.12.99
processing
2.12.99
MetaSearch
0.3.6

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

@VaclavC VaclavC added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

No branches or pull requests

1 participant