Bug report #9507

QGIS crash when opening a HTML Map Tip with some mistakes

Added by Nacho Varela about 10 years ago. Updated about 10 years ago.

Status:Closed
Priority:High
Assignee:-
Category:-
Affected QGIS version:2.0.1 Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:up/downstream
Crashes QGIS or corrupts data:Yes Copied to github as #:18098

Description

I wrote a simple html code to display a Map Tip on a vector layer:


   <span style="color:darkyellow">MYCODE</span> [% MYCODE %]

I select the Map Tip tool and QGIS crashes when try to show the tip dialog with the not valid color "darkyellow".

History

#1 Updated by Giovanni Manghi about 10 years ago

  • Priority changed from Normal to High

#2 Updated by Jürgen Fischer about 10 years ago

  • Resolution set to up/downstream
  • Status changed from Open to Feedback

I suppose this only applies to Qt 4.7 (which OSGeo4W 32bit still uses)

#3 Updated by Nacho Varela about 10 years ago

You are right. I've tried on Ubuntu and it doesn't happen.

#4 Updated by Giovanni Manghi about 10 years ago

closing this?

#5 Updated by Nacho Varela about 10 years ago

  • Status changed from Feedback to Closed

I've updated to QGIS 2.2 under Windows and now there is no crash anymore.

Also available in: Atom PDF