Bug report #12750

Labelling: replace a space with return conflicts with Return within a string

Added by Paolo Cavallini about 5 years ago. Updated about 5 years ago.

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

Description

Return within a string and the option to replace a character (typically space) with return do not interact nicely (the return within a string not being used).
More details:
  • if the return and the wrap character are in the same string, the return is not taken into account, it becomes a simple space;
  • if the wrap character appears before the return, even in a separate string, the return is not taken into account, it becomes a simple space.
  • Only returns written before a wrap character, in a separate string, are applied.

Thanks DelazJ.

Associated revisions

Revision 4b4075b5
Added by Nyall Dawson about 5 years ago

[labeling] Fix setting a wrap character conflicts with newlines
in label text (fix #12750)

Revision e0aa69d9
Added by Nyall Dawson about 5 years ago

[labeling] Fix setting a wrap character conflicts with newlines
in label text (fix #12750)

History

#1 Updated by Nyall Dawson about 5 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF