Bug report #14989
labelling: cartographic placement broken when data-defined quadrant set
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | |||
Category: | Labelling | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 22937 |
Description
The labelling's cartographic placement is "broken" when a data-defined quadrant expression is set (even though cartographic placement does not rely on quadrant settings). What should happen here is for quadrant settings to be ignored when in cartographic placement.
Steps to reproduce- Create a new project, add a point layer
- Open the labelling settings, and activate labels
- set label placement to (*) around point, and add the following data-defined quadrant expression: 3
- Apply the settings, you should see labels displayed to the left of your points
- Re-open the labelling settings
- Set label placement to (*) cartographic, and notice the quadrant data-defined button gone (since it's not used)
- Apply the settings, you should see labels still displayed only to the left of your points
Associated revisions
[pal] fix quadrant exp. wrongly overwriting cartographic placement
(fixes #14989)
History
#1
Updated by Nyall Dawson about 8 years ago
- Status changed from Open to Closed
Fixed in changeset 3afb05c21d87056381dfec52fe42d7da52caa912.