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

Cannot use layer order if non-geometric layers are used #17849

Closed
qgib opened this issue Dec 17, 2013 · 5 comments
Closed

Cannot use layer order if non-geometric layers are used #17849

qgib opened this issue Dec 17, 2013 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Map and Legend Related to map or legend rendering

Comments

@qgib
Copy link
Contributor

qgib commented Dec 17, 2013

Author Name: Denis Rouzaud (@3nids)
Original Redmine Issue: 9228
Affected QGIS version: 2.0.1
Redmine category:map_legend


If you have non-geometric layers and want to use the custom layer order, it is disabled every time your re-open the project.
This message appears in the log:

The problem comes from the fact that sometimes drawingOrder="-1" in the legend node for the non-geometric layers.
And then, in QgsLegend::verifyDrawingOrder, if a legend layer has drawingOrder < 0, it will reorder the layers according to the legend.

@qgib
Copy link
Contributor Author

qgib commented Dec 17, 2013

Author Name: Denis Rouzaud (@3nids)


The message is: Not fully defined drawing order set to legend order.

@qgib
Copy link
Contributor Author

qgib commented Dec 17, 2013

Author Name: Jürgen Fischer (@jef-n)


what is a "non-geometric" layer?

@qgib
Copy link
Contributor Author

qgib commented Dec 17, 2013

Author Name: Denis Rouzaud (@3nids)


only data, a postgres layer without geometry column for instance

@qgib
Copy link
Contributor Author

qgib commented Feb 7, 2014

Author Name: Giovanni Manghi (@gioman)


There is no crash or data corruption, so I'm lowering the priority.


  • priority_id was changed from High to Normal

@qgib
Copy link
Contributor Author

qgib commented Feb 8, 2015

Author Name: Denis Rouzaud (@3nids)


  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Map and Legend Related to map or legend rendering labels May 24, 2019
@qgib qgib added this to the Future Release - High Priority milestone May 24, 2019
@qgib qgib closed this as completed May 24, 2019
JamesShaeffer pushed a commit to JamesShaeffer/QGIS that referenced this issue Nov 20, 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! Map and Legend Related to map or legend rendering
Projects
None yet
Development

No branches or pull requests

1 participant