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

QGIS 2.0 does not respect labels' scale-based visibility option when opening projects from previous version #16893

Closed
qgib opened this issue Jun 13, 2013 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Project

Comments

@qgib
Copy link
Contributor

qgib commented Jun 13, 2013

Author Name: Duarte Carreira (@dncpax)
Original Redmine Issue: 8052
Affected QGIS version: master
Redmine category:project_loading/saving
Assignee: Larry Shaffer


The min/max scales are set but disabled because the checkbox is turned off.

It is a migration issue of old projects. Even 1.9 projects from before the vector-branch merge are affected.

@qgib
Copy link
Contributor Author

qgib commented Jun 13, 2013

Author Name: Larry Shaffer (Larry Shaffer)


Hi Duarte,

This is a known effect after recent changes to new labeling to support expressions ("mailing list posts":http://osgeo-org.1560.x6.nabble.com/Labeling-gui-redesign-branch-ready-td5054196.html).

It should function correctly when opening a valid QGIS 1.8 project, i.e. the Scale visibility checkbox should be checked and data defined values should work if either are set as before. However, I noticed that I missed adding that support and will do so shortly.

The support for migrating existing 1.9 projects to 2.0 will probably not be added (see Tim's comment in noted mailing list thread). This is also because it requires extraneous code to support the 1.9->2.0 update than just the 1.8->2.0 update. This was the case when updating the Buffer settings, but with Scale visibility I may be able to support 1.9->2.0 updating if it is simple and non-extraneous to do so.


  • priority_id was changed from Normal to High
  • subject was changed from qgis 2.0 does not respect labels' scale-based visibility option when opening existing 1.9 projects to QGIS 2.0 does not respect labels' scale-based visibility option when opening projects from previous version
  • assigned_to_id was configured as Larry Shaffer

@qgib
Copy link
Contributor Author

qgib commented Jun 13, 2013

Author Name: Duarte Carreira (@dncpax)


Hi Larry.

I wasn't aware of issues going from 1.9 to 2.0. I assumed that they were the same version and 2.0 was a completed 1.9...

I'll wait for 2.0 and evaluate the needed effort... and cross my fingers only small adjustments are needed.

Thanks for your work on this!

@qgib
Copy link
Contributor Author

qgib commented Jun 13, 2013

Author Name: Larry Shaffer (Larry Shaffer)


Should be fixed with commit d547b25

Please test. That commit also fixes another unreported bug where scales closer than 1:1, e.g. 5:1, could not be set.

New usage info from tool tip:
Value < 0 represents a scale closer than 1:1, e.g. -10 = 10:1.
Value of 0 toggles off specific limit.

@qgib
Copy link
Contributor Author

qgib commented Jan 30, 2014

Author Name: Paolo Cavallini (@pcav)


  • fixed_version_id was changed from Version 2.0.0 to Future Release - High Priority

@qgib
Copy link
Contributor Author

qgib commented Feb 7, 2014

Author Name: Giovanni Manghi (@gioman)


closing for lack of feedback, should be fixed.


  • resolution was changed from to fixed/implemented
  • 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! High Priority Project 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
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! High Priority Project
Projects
None yet
Development

No branches or pull requests

1 participant