Data defined label does not works anymore in combinaison with rule based labeling #27801
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
High Priority
Labeling
Related to QGIS map labeling
Regression
Something which used to work, but doesn't anymore
Author Name: Dominique Lyszczarz (@domlysz)
Original Redmine Issue: 19979
Affected QGIS version: 3.2.3
Redmine category:labelling
Assignee: Nyall Dawson
Please find in attachement a simple project that illustrate the issue : trying moving a label does not works.
The issue appears since 3.2.2 or 3.2.3 (as I tested it works correctly on 3.2.0 and fails on 3.2.3).
After more investigation, I could notice that a project with this kind of setup saved with 3.2.0 also works correctly on 3.2.3 but will fails again if the rules are editing. Comparing qgs files between a working and non working reveals that non working file missing rule uuid :
working qgs file:
@
@
non working qgs file:
@
@
Adding an uuid make the labels movable again.
Investigate the commits, it seems b6901e2 is the cause of the regression : uuid creation was removed from qgsrulebasedlabeling.cpp (line 68)
b6901e2
The text was updated successfully, but these errors were encountered: