-
-
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
Expression not being retained in rule based labelling #23425
Comments
Author Name: Saber Razmjooei (@saberraz)
|
Author Name: Chris Buckmaster (Chris Buckmaster)
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Nyall Dawson (@nyalldawson) Is this still an issue in 3.4?
Process as follows: Using a point dataset from PostGIS, and the rule based labelling for Labels. My rule says ("CLASSIFICA" = 'Woodland Or Forest' AND "FONTHEIGHT" = 'Small'), with this I also have a scale range included. When I try to change this (for example to “FONTHEIGHT” = ‘Medium’), I click on the browse button next to ‘Test’, I then manually alter the text within my expression from ‘Small’ to ‘Medium’. I OK this – back at the ‘Edit rule window’, I do see that the text has changed to ‘Medium’, I then click OK but back at my rule based labelling screen the text still says ‘Small’. If I decide to change the expression from the ‘Edit rule’ window and not open the expression builder, it does retain the change, so there looks to be an issue (from my set up anyway) where it is not storing any changes within the expression window. Process as follows: Using a point dataset from PostGIS, and the rule based labelling for Labels. My rule says ("CLASSIFICA" = 'Woodland Or Forest' AND "FONTHEIGHT" = 'Small'), with this I also have a scale range included. When I try to change this (for example to “FONTHEIGHT” = ‘Medium’), I click on the browse button next to ‘Test’, I then manually alter the text within my expression from ‘Small’ to ‘Medium’. I OK this – back at the ‘Edit rule window’, I do see that the text has changed to ‘Medium’, I then click OK but back at my rule based labelling screen the text still says ‘Small’. If I decide to change the expression from the ‘Edit rule’ window and not open the expression builder, it does retain the change, so there looks to be an issue (from my set up anyway) where it is not storing any changes within the expression window.
|
Author Name: Chris Buckmaster (Chris Buckmaster) Nyall Dawson wrote:
I can confirm this issue no longer occurs in 3.4 (testing with 3.4.4). |
Author Name: Nyall Dawson (@nyalldawson)
|
Author Name: Chris Buckmaster (Chris Buckmaster)
Original Redmine Issue: 15501
Affected QGIS version: 2.16.1
Redmine category:labelling
Assignee: Nathan Woodrow
It appears as though when using the rule based labelling option for labelling features in QGIS (2.16), any modifications using the expression builder are not retained.
Process as follows:
Using a point dataset from PostGIS, and the rule based labelling for Labels.
My rule says ("CLASSIFICA" = 'Woodland Or Forest' AND "FONTHEIGHT" = 'Small'), with this I also have a scale range included.
When I try to change this (for example to “FONTHEIGHT” = ‘Medium’), I click on the browse button next to ‘Test’, I then manually alter the text within my expression from ‘Small’ to ‘Medium’.
I OK this – back at the ‘Edit rule window’, I do see that the text has changed to ‘Medium’, I then click OK but back at my rule based labelling screen the text still says ‘Small’.
If I decide to change the expression from the ‘Edit rule’ window and not open the expression builder, it does retain the change, so there looks to be an issue (from my set up anyway) where it is not storing any changes within the expression window.
The text was updated successfully, but these errors were encountered: