Bug report #10400

Text annotations in Print Composer

Added by Ross McDonald over 10 years ago. Updated over 10 years ago.

Status:Closed
Priority:Normal
Assignee:Nyall Dawson
Category:Map Composer/Printing
Affected QGIS version:master Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:18816

Description

I create a set of text annotations spread across my map canvas and set them to a fixed map position. I create a new print composer and add a map frame. If I zoom in on a particular part of the map to see some of the detail I see the text annotations I created in the map frame. However, text annotations that are not in the map frame are still drawn and appear outside of the map frame. I would expect text annotations drawn on the map canvas to only appear within the map frame in print composer and not outside of it. See attached screenshot example.

I am using QGIS master e4d0f15 on Windows 7 32bit.

text_anno_print_composer.jpg (29.3 KB) Ross McDonald, 2014-05-30 07:22 AM

text_anno_error_v201.jpg - QGIS Dufour 2.0.1 (81.6 KB) Ross McDonald, 2014-06-06 04:30 AM

text_anno_error_v220.jpg - QGIS Valmiera 2.2.0 (72.1 KB) Ross McDonald, 2014-06-06 04:30 AM

text_anno_error_v230.jpg - QGIS Master OSGeo4W build 97 (76.4 KB) Ross McDonald, 2014-06-06 04:30 AM

text_anno_error_v230_103.jpg - QGIS Master OSGeo4W build 103 (75.2 KB) Ross McDonald, 2014-06-06 04:30 AM

QGIS_master_linux_mint.png - QGIS master on Linux Mint (204 KB) Ross McDonald, 2014-06-06 04:30 AM

Associated revisions

Revision af0d68cf
Added by Nyall Dawson over 10 years ago

Don't draw annotation text outside of painter's clip region (fix #10400)

History

#1 Updated by Ross McDonald over 10 years ago

  • Assignee set to Nyall Dawson

Hopefully Nyall is the correct person for the bug.

#2 Updated by Ross McDonald over 10 years ago

  • Target version set to Version 2.4

Having had to use QGIS and Print Composer to create a series of complex maps with lots of text annotations added to the map I feel this should be fixed for 2.4 with a higher priority than normal as the user has no control over the display of the text.

#3 Updated by Giovanni Manghi over 10 years ago

Ross McDonald wrote:

Having had to use QGIS and Print Composer to create a series of complex maps with lots of text annotations added to the map I feel this should be fixed for 2.4 with a higher priority than normal as the user has no control over the display of the text.

blockers are the regressions (and this may be one, you should test older qgis releases) and high priority are issues that make a certain functionality unusable (so it is not the case).

#4 Updated by Nyall Dawson over 10 years ago

  • Status changed from Open to Closed

#5 Updated by Ross McDonald over 10 years ago

I am still getting the text annotations to display outside the map frame on the print composer. I have attached screenshots of the problem in QGIS 2.0.1, 2.2.0 and two different builds of master from OSGeo4W and QGIS master on Linux Mint from the nightly builds.

#6 Updated by Nathan Woodrow over 10 years ago

What is the version number in the title bar. Your version still might not be up to date yet.

#7 Updated by Ross McDonald over 10 years ago

It is 3e8f74f

QGIS version 2.3.0-Master QGIS code revision 3e8f74f
Compiled against Qt 4.7.1 Running against Qt 4.7.1
Compiled against GDAL/OGR 1.11.0 Running against GDAL/OGR 1.11.0
Compiled against GEOS 3.4.2-CAPI-1.8.2 Running against GEOS 3.4.2-CAPI-1.8.2 r3921
PostgreSQL Client Version 8.3.10 SpatiaLite Version 4.1.1
QWT Version 5.2.1 PROJ.4 Version 480
QScintilla2 Version 2.6.2 This copy of QGIS writes debugging output.

#8 Updated by Nathan Woodrow over 10 years ago

  • Tag deleted (text annotation print composer)
  • Status changed from Reopened to Closed

Your build doesn't include that fix yet. There should be a new one in a day or so.

Also available in: Atom PDF