Skip to content
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

Moving labels doesn't work when using virtual fields #23413

Closed
qgib opened this issue Aug 25, 2016 · 3 comments
Closed

Moving labels doesn't work when using virtual fields #23413

qgib opened this issue Aug 25, 2016 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Labeling Related to QGIS map labeling

Comments

@qgib
Copy link
Contributor

qgib commented Aug 25, 2016

Author Name: Jérôme Guélat (Jérôme Guélat)
Original Redmine Issue: 15489
Affected QGIS version: 2.16.1
Redmine category:labelling


Steps to reproduce the bug (the same workflow is working when using normal fields):

  1. Create 2 new virtual fields (for example xlab and ylab)
  2. Fill them with NULL
  3. Use the 2 new fields in the data defined placement properties of the labeling options
  4. Start editing and try to move a label using the "Move label and diagram tool"

It would be very nice to use virtual fields since label placement is very often project specific. It is not very elegant to create many new fields if the same data is used in different projects.

@qgib
Copy link
Contributor Author

qgib commented Aug 25, 2016

Author Name: Nyall Dawson (@nyalldawson)


Virtual fields don't work that way - they aren't editable, just a read only evaluated value.

@qgib
Copy link
Contributor Author

qgib commented Apr 30, 2017

Author Name: Giovanni Manghi (@gioman)


  • easy_fix was configured as 0
  • regression was configured as 0

@qgib
Copy link
Contributor Author

qgib commented Jun 12, 2018

Author Name: Jérôme Guélat (Jérôme Guélat)


This is now possible using auxiliary storage in QGIS 3


  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Jun 12, 2018
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Labeling Related to QGIS map labeling labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Labeling Related to QGIS map labeling
Projects
None yet
Development

No branches or pull requests

1 participant