[QGIS-trac] Re: [Quantum GIS] #2793: Drag and Drop regression on Mac OSX

Quantum GIS qgis at qgis.org
Mon Mar 7 03:19:21 EST 2011


#2793: Drag and Drop regression on Mac OSX
------------------------------------------------+---------------------------
   Reporter:  springmeyer                       |              Owner:  telwertowski 
       Type:  bug                               |             Status:  assigned     
   Priority:  major: does not work as expected  |          Milestone:  Version 1.7.0
  Component:  GUI                               |            Version:  Trunk        
   Keywords:  startup document open             |   Platform_version:               
   Platform:  OS X                              |           Must_fix:  Yes          
Status_info:  0                                 |  
------------------------------------------------+---------------------------
Changes (by telwertowski):

  * owner:  nobody => telwertowski
  * status:  new => assigned


Comment:

 Yes, a Cocoa vs. Carbon app is the cause of the problem.

 I have been building both Qt/Carbon and Qt/Cocoa but using QGIS/Qt/Carbon
 because it works more reliably. I was still waiting for Qt/Cocoa to
 improve or for Qt to issue some instructions on what developers need to
 change.

 While pursuing the details of NSApplication/QApplication interaction, I
 discovered QFileOpenEvent which reports "double clicking on a file icon in
 the Finder" among other things. It looks like it abstracts Carbon/Cocoa
 Open Document Apple Events so that separate code isn't needed for each.

 Rather than writing Cocoa code to match the existing Carbon code,
 migrating to QFileOpenEvent may be a better solution.

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/2793#comment:7>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list