-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Label move not possible after delete of auxiliary data #46403
Comments
@xcaeag I can replicate on 3.22.1 but not on 3.16.14 (is a regression). |
if you go to label placement options a coalesce wrap is usually added that needs to be deleted in order for it to allow labels to move, this has been my experience. Have you checked this? |
@antoniolocandro I have. The expression is removed, but still on 3.22 moving labels does not work anymore (is ok on 3.16). |
But is related to those expressions: are removed when the aux storage is removed, recreated when picking the move label tool, but are not working. If they the expression are manually removed then the move label tool start to work again. |
when auxiliary column is removed Refs qgis#46403
when auxiliary column is removed Refs #46403
when auxiliary column is removed Refs #46403
when auxiliary column is removed Refs #46403
when auxiliary column is removed Refs #46403
when auxiliary column is removed Refs #46403
What is the bug or the crash?
Some of our users, on some projects, some layers, can't move the labels. Auxiliary data (positionX, positionY) is not created.
By reducing the project to its strict minimum, we discover that the incriminated layers have already carried auxiliary data, since deleted. However, the placement of the labels still use a reference to these auxiliary fields (expression).
An attempt at positioning should theoretically re-enrich the auxiliary table with the labeling_positionx and positiony fields, but this fails for some unknown reason. These fields stay disabled in the "label properties" window.
The gif shows the phenomenon, on a newly created memory layer.
![labeling](https://user-images.githubusercontent.com/7790344/145048466-a15dde24-f0a3-409d-ac18-28568ee9b2c3.gif)
Steps to reproduce the issue
1.creation of the layer in memory (punctual, with text)
2.moving a label
3.deleting the auxiliary table
4. label move -> IMPOSSIBLE!
Versions
3.10 to 3.22.1
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: