Bug report #10607

serious regression: data-defined symbology expressions broken with composer {rectangle, ellipse, triangle} shapes

Added by Mathieu Pellerin - nIRV about 10 years ago. Updated about 10 years ago.

Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:19011


That's a pretty serious regression: it's impossible to add data-defined expressions to the symbology of a composer {rectangle, ellipse, triangle} item.

Steps to reproduce:
1. Create an empty project
2. Create a composer
3. Add a rectangle item to the composer
4. Open the item's style property via the 'Change...' button
5. Click on the 'Simple Fill' layer, and open the 'Data defined property...' window
6. Try to click on the [E] button of any of the fields, you'll notice it doesn't do anything (i.e., broken) when it should open the expression builder
7. Try to enter a valid expression in the Color field (e.g. '150,150,150,255'), you'll notice it doesn't validate (i.e. broken) when it should

Hmm, hoping this can be fixed before 2.4, that breaks custom legends and atlas-driven symbology.


#1 Updated by Mathieu Pellerin - nIRV about 10 years ago

  • File centroid-fill-error-composer.png added

#2 Updated by Mathieu Pellerin - nIRV about 10 years ago

  • File deleted (centroid-fill-error-composer.png)

#3 Updated by Martin Dobias about 10 years ago

  • Resolution set to fixed/implemented
  • Target version set to Version 2.4
  • Status changed from Open to Closed

Also available in: Atom PDF