Bug report #9057

label background with offset value misplaced when exporting qgis composer to image

Added by Mathieu Pellerin - nIRV about 11 years ago. Updated almost 11 years ago.

Status:Closed
Priority:High
Assignee:Larry Shaffer
Category:Labelling
Affected QGIS version:2.0.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 #:17705

Description

Steps to reproduce:
1. Open the attached project
2. Open the label property of the vector layer, go in the background section, and notice the offset Y value is set to 1
3. Close the label property, and open 'Composer 1'
4. Export the composer to an image
5. Open the image to witness the label background wrongly placed way below the label

I'm also attaching a qgis main canvas vs exported screenshot, which shows the good (saveas_maincanvas.jpg) vs bad (exported_composer.jpg) placement.

shielfoffset_issue.zip (4.96 KB) Mathieu Pellerin - nIRV, 2013-11-12 06:47 PM

saveas_maincanvas.jpg (18 KB) Mathieu Pellerin - nIRV, 2013-11-12 06:47 PM

exported_composer.jpg (141 KB) Mathieu Pellerin - nIRV, 2013-11-12 06:47 PM

Associated revisions

Revision 7e33fdec
Added by Larry Shaffer almost 11 years ago

Fix #9057, offset value misplaced when exporting composer to image

- Add unit test and control images

History

#1 Updated by Larry Shaffer almost 11 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF