Bug report #14698

No labels shown when font Size is set to Map unit for labels

Added by Burghardt Scholle over 4 years ago. Updated almost 4 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Labelling
Affected QGIS version:2.14.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:22662

Description

Hi,

if I select map units under "layer properties -> labels -> Text style", my settings for size range are not applied. If I click "ok" and open the dialog again, the entries have been deleted.

System: Windows 7 64bit, Xubuntu 14.04, QGIS 2.14.1

Regards
Burghardt

label_test.zip (5.78 KB) Burghardt Scholle, 2016-04-27 12:42 AM

Associated revisions

Revision 3322bcb2
Added by Nyall Dawson over 4 years ago

Fix map unit scale parameters were not always saved for labeling

Refs #14698 - all settings are now saved but the size range in mm
is not yet respected during rendering

Revision 72714e6f
Added by Nyall Dawson over 4 years ago

Fix label map unit scale range for font size and buffer

Refs #14698, but other label size parameters are still
ignoring scale ranges

Revision 6663fd2d
Added by Nyall Dawson over 4 years ago

Fix map unit scale parameters were not always saved for labeling

Refs #14698 - all settings are now saved but the size range in mm
is not yet respected during rendering

(cherry-picked from 3322bc)

Revision e3517c6f
Added by Nyall Dawson almost 4 years ago

Fix text renderer not respecting min/max mm scale for map units (fix #14698)

History

#1 Updated by Saber Razmjooei over 4 years ago

  • Category set to Labelling
  • Status changed from Open to Feedback

It works fine for me. Do you have an example file?

#2 Updated by Burghardt Scholle over 4 years ago

Hi Saber,
please excuse my late reply - I was on leave.
Yes of course I have an example. In the uploaded zip-file you'll find a *.qgs and a simple shp-file. Even with these simple data the use of size range doesn't work for me.
Perhaps I should point out that I work in a German system environment.

#3 Updated by Saber Razmjooei over 4 years ago

  • Status changed from Feedback to Open
  • Priority changed from Normal to Severe/Regression
  • Subject changed from Settings for text style "size range" in layer properties labels are not applied to No labels shown when font Size is set to Map unit for labels

#4 Updated by Saber Razmjooei over 4 years ago

I can see it in d9ee875 but not in the latest master e9bc8ae. I guess it's been fixed but will be great to have it backported for 2.14.2 as it is an annoying bug.

#5 Updated by Saber Razmjooei over 4 years ago

  • Priority changed from Severe/Regression to Normal

#6 Updated by Burghardt Scholle over 4 years ago

Hi Saber,
I can confirm your experience. In the latest version (for me QGIS code revision "77d95b0") the size range works perfectly.
Thanks for the review.

#7 Updated by Nyall Dawson almost 4 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF