Bug report #9034
Symbol not visible in TOC when size is set in data defined properties
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||duplicate|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||17689|
On Qgis 2.0, when the point simbol size is set in "data defined properties" the simbol is no more diplayed in TOC.
#4 Updated by Mathieu Pellerin - nIRV over 7 years ago
Legend symbol has indeed never worked with data defined symbology. I feel it's not a bug but rather a lack in implementation.
IMO, there's an easy low cost implementation to dramatically improve behavior for the short term: have legend symbol revert to non data defined values when drawing. ie, if we have a data defined color fill, instead of showing a black color, it picks up the color defined in symbol fill color.
Same goes for size values, border colors, etc.
That would at least prevent rendering legend symbol useless, as is the case atm.