Bug report #14274
"Control feature rendering order" checked by default
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Sebastian Dietrich | ||
Category: | Symbology | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | Yes | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 22268 |
Description
"Control feature rendering order" option is checked by default, even though no condition is set.
Related issues
History
#1 Updated by Sebastian Dietrich almost 9 years ago
- Status changed from Open to In Progress
- Assignee set to Sebastian Dietrich
#2 Updated by Sebastian Dietrich almost 9 years ago
This bug also has the effect of unchecking the Control feature rendering order option when opening the properties dialog for a layer that has an order defined.
#3 Updated by Sebastian Dietrich almost 9 years ago
- Pull Request or Patch supplied changed from No to Yes
- % Done changed from 0 to 100
See PR 2798 for a solution.
#4 Updated by Harrissou Santanna almost 9 years ago
Thanks Sebastian
Note that I also reported the side effect (in #14293)
#5 Updated by Anonymous almost 9 years ago
- Status changed from In Progress to Closed
Fixed in changeset a44c89027f4695936485606c359949e9643f8f40.
#6 Updated by Sebastian Dietrich almost 9 years ago
I marked #14293 as a duplicate of this an closed it.
#7 Updated by Sebastian Dietrich almost 9 years ago
What do you think of the automatic checkbox in general?
- Check the box
- Define an order
- Uncheck the box
- Apply and close the dialog
- Re-open the dialog
- -> The box is automatically checked again, without user interaction!
Should it be a bug by itself?
#8 Updated by Harrissou Santanna almost 9 years ago
I'm not sure it should check automatically (according to "is there an expression set?"). If I uncheck the box, it means that I don't want to use the expression, it shouldn't get checked next time I open the dialog.
You may test an expression order and then decide to deactivate it (but want to keep the written expression, may be for further purpose). It should behave as any other checkbox (eg, labelling)
#9 Updated by Sebastian Dietrich almost 9 years ago
I see we think into the same direction here and I openend #14323 for this issue.