Opened 15 years ago

Closed 14 years ago

#1894 closed bug (fixed)

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

Reported by: jctull Owned by: nobody
Priority: major: does not work as expected Milestone: Version 1.4.0
Component: Project Loading / Saving Version: Trunk
Keywords: project file open drag drop Cc:
Must Fix for Release: Yes Platform: OS X
Platform Version: Awaiting user input: no

Description

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.

Change History (6)

comment:1 by jctull, 15 years ago

Priority: critical: causes crash or data corruptionmajor: does not work as expected

comment:2 by kyngchaos, 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.

comment:3 by jctull, 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.

comment:4 by kyngchaos, 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.

comment:5 by lutra, 14 years ago

what is the status of this bug?

comment:6 by jctull, 14 years ago

Resolution: fixed
Status: newclosed

Appears to be working.

Note: See TracTickets for help on using tickets.