QGIS icon indicating copy to clipboard operation
QGIS copied to clipboard

Color picker didn't adjust SVG label fill and stroke color using an SVG as background

Open MathiasGroebe opened this issue 10 months ago • 1 comments

What is the bug or the crash?

If using an SVG as label background, it is possible to adjust the fill color and stroke color via QGIS. The color pickers (marked in the screenshot) for those parameters don't work, while setting a data-driven override adjusts the colors.

grafik

Steps to reproduce the issue

Create a label for a layer. Set the attached SVG as background for the label and try to adjust the stroke and file color via the color picker.

nk

Versions

QGIS version 3.36.1-Maidenhead QGIS code revision 3e589453264
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.11 (Ubuntu 14.11-0ubuntu0.22.04.1)
SpatiaLite version 5.0.1
QWT version 6.1.4
QScintilla2 version 2.11.6
OS version Ubuntu 22.04.4 LTS
       
Active Python plugins
MetaSearch 0.3.6
processing 2.12.99
grassprovider 2.12.99
db_manager 0.1.20
QGIS version 3.36.1-Maidenhead QGIS code revision [3e589453264](https://github.com/qgis/QGIS/commit/3e589453264) 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.11 (Ubuntu 14.11-0ubuntu0.22.04.1) SpatiaLite version 5.0.1 QWT version 6.1.4 QScintilla2 version 2.11.6 OS version Ubuntu 22.04.4 LTS

Active Python plugins MetaSearch 0.3.6 processing 2.12.99 grassprovider 2.12.99 db_manager 0.1.20

Supported QGIS version

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

New profile

Additional context

No response

MathiasGroebe avatar Apr 19 '24 13:04 MathiasGroebe

@MathiasGroebe, thanks for reporting. It seems to me the issue occurs using both QGIS 3.36.2 and QGIS 3.34.6, while it didn't occur using QGIS 3.28, QGIS 3.30 and QGIS 3.32. Hi @nirvn, it seems to me the issue occurs since QGIS 3.34.1 while it didn't occur using QGIS 3.34.0: may it be due to changes introduced in Master with https://github.com/qgis/QGIS/pull/55061 and backported to 3.34.1 with https://github.com/qgis/QGIS/pull/55081?

agiudiceandrea avatar Apr 19 '24 17:04 agiudiceandrea