[QGIS-trac] Re: [Quantum GIS] #3497: Crash when changing font and color in Style manager on OS X

Quantum GIS qgis at qgis.org
Sat Apr 23 17:48:05 EDT 2011


#3497: Crash when changing font and color in Style manager on OS X
---------------------------------------------------------+------------------
   Reporter:  rcline                                     |              Owner:  nobody       
       Type:  bug                                        |             Status:  new          
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 1.7.0
  Component:  Symbology                                  |            Version:  Trunk        
   Keywords:                                             |   Platform_version:               
   Platform:  OS X                                       |           Must_fix:  Yes          
Status_info:  0                                          |  
---------------------------------------------------------+------------------

Comment(by telwertowski):

 I think this is a qt bug and it has something to do with how qt chains
 windows together. The Cocoa qt implementation is hiding and keeping the
 color picker for reuse rather than deleting and creating it anew for each
 use. The beeping unresponsive dialog is probably due to the invisible
 color picker retaining control and confusing the chain of command.

 I tried setting parent to both null and actual parent for the full chain.
 Both fail when the color picker is more than one dialog away. Is there
 somewhere in the old symbology where a working picker is deeper than
 window > dialog > picker?

 If there is a workaround, I suspect it involves understanding the Cocoa qt
 internal window chaining code so that something can be reset (if it's
 publicly accessible) after each call. The non-native picker works because
 it gets deleted and the command chain is appropriately updated upon
 deletion.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/3497#comment:8>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS supporting GDAL/OGR, PostGIS, and GRASS formats, and Web Services


More information about the QGIS-trac mailing list