2

I'm using QGIS 3.2 and want to manually move a few labels on a layer but when I try to use the move labels tool I can't move them. I can however rotate and change them using those tools. I looked in the Auxilliary Storage and it seems like the move tool is not creating new fields for the movement whereas the rotation and change tools can. Is there any reason the move isn't working while the others area?

  • The auxiliary fields are a relatively new feature (new since 3.0), so you're probably experiencing a bug. You can make a bug report (check first to make sure it's not already been reported). – csk Jul 26 '18 at 18:35
4

This is a known bug. It was reported for QGIS 3.0.3 and was fixed, but it re-appeared in 3.2.1.

Your options are:

  1. Wait for a bug fix.

  2. Revert to QGIS 3.2.0 - download old version of QGIS here.

  3. Use a static field for data-defined label positions.

    Create fields called "LabelX" and "LabelY", with Field Calculator expressions $x and $y, respectively. Set these fields to control the label position.

    With the layer in editing mode, try using the Move Label tool - hopefully it will re-position the labels and change the "LabelX" and "LabelY" values. If not, you'll have to position your labels by manually editing the values in these fields.

  • Thanks, I did know about the bug in earlier versions but I didn't realize it had resurfaced. I'll have to use the workaround for now. – Azrie Jul 27 '18 at 20:01
  • It seems to be present in 3.4 even though the issue is closed on Github. – Gob Tron Feb 12 at 14:15
  • This is not the place for a bug report, if you discover that a closed bug is still occurring please update the bug report itself. – csk Feb 14 at 18:02
3

I had the same problem and opening the layer property, I saw the coordinates of the label apearing in red :

label coordinates

By clicking on the menu (on the red icone) and selecting "store data in the project", I was able to solve the problem and move the labels. I hope it works for you as well !

1

This bug is still present in version 3.6.2.

You need to open the Layer Property, click on each of the data defined coordinates X and Y: screen1

and select the "store data in project" box: screen2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.