Bug report #1894

Opening project file with 2x click or drag to dock icon does not work (OS X)

Added by John Tull almost 15 years ago. Updated over 14 years ago.

Assignee:nobody -
Category:Project Loading/Saving
Affected QGIS version: Regression?:No
Operating System:OS X Easy fix?:No
Pull Request or Patch supplied: Resolution:fixed
Crashes QGIS or corrupts data: Copied to github as #:11954


In the current trunk, trying to open a qgis project file by dragging it onto the application icon in the dock (qgis already open) does not open the project. Likewise, double clicking a project file if qgis is already running does not work. If qgis is not open, double clicking a project file or dragging to the application icon in the Finder opens qgis and loads the project correctly.

Turning off the older qgis version warning in the general settings does not correct the issue. Neither does saving the file.


#1 Updated by William Kyngesburye almost 15 years ago

Somehow the system lost the file extension association. Works fine for me.

Some things to try:

Restart Mac.

Reinstall Qgis.

Get Info on a project file. Select Qgis.app from the Open With popup. Then click the Change All button.

#2 Updated by John Tull almost 15 years ago

The association is there when I look at the file info. Also, opening the file when qgis is closed works fine. Only when qgis is already open does it not work. This is rev 11494 built with cmake.

#3 Updated by William Kyngesburye almost 15 years ago

Do you have multiple copies of Qgis installed? Maybe Open With is showing another copy.

To check that your current Qgia is not broken, Show Package Contents on your current Qgis app, then dig into Contents and open Info.plist. There should be a Document Types array, and the Qgis project document should be one. It should have a CFBundleTypeExtensions key with qgs as the value.

#4 Updated by Giovanni Manghi over 14 years ago

what is the status of this bug?

#5 Updated by John Tull over 14 years ago

  • Resolution set to fixed
  • Status changed from Open to Closed

Appears to be working.

Also available in: Atom PDF