Bug report #19333

Howto open QGZ files, default with QGIS 3.2 Bonn?

Added by A. Egberts over 5 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:Jürgen Fischer
Category:Browser
Affected QGIS version:3.2 Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:27161

Description

I have intalled QGIS 3.2 Bonn, and wit 3.2 you can save QGZ files.

but how can I tell Windows that these QGZ files must be open with QGIS 3.2 Bonn?

open with "qgis.bat" is not working, so can anyone tel me please?

Associated revisions

Revision d66d1eec
Added by Jürgen Fischer over 5 years ago

osgeo4w: also register qgz extension (fixes #19333)

Revision 71bcf1c9
Added by Jürgen Fischer over 5 years ago

osgeo4w: also register qgz extension (fixes #19333)

(cherry picked from commit d66d1eec1b1f4183c16a6a544f09e326d0657ada)

Revision 74d58440
Added by Jürgen Fischer over 5 years ago

also handle qgz like qgs on the command line (fixes #19333; followup d66d1eec1b)

Revision 53a25c76
Added by Jürgen Fischer over 5 years ago

also handle qgz like qgs on the command line (fixes #19333; followup d66d1eec1b)

(cherry picked from commit 4480a915d55789c5ad05c2b50569ae3d96ecdac7)

History

#1 Updated by Giovanni Manghi over 5 years ago

  • Status changed from Open to Feedback

Is the problem onlly when double clicking the thq qgz files, or also if you drag and drop them over an open qgis 3.2 window?

#2 Updated by A. Egberts over 5 years ago

Giovanni Manghi wrote:

Is the problem onlly when double clicking the thq qgz files, or also if you drag and drop them over an open qgis 3.2 window?

after install, QGZ files are not recognized by windows. And I can select a program, and when I select qgis.bat, it still does not work. Even when I select Qgis 3.2.exe as default program, qgis will start, but without the layers in de QGZ file!

#3 Updated by Giovanni Manghi over 5 years ago

A. Egberts wrote:

Giovanni Manghi wrote:

Is the problem onlly when double clicking the thq qgz files, or also if you drag and drop them over an open qgis 3.2 window?

after install, QGZ files are not recognized by windows. And I can select a program, and when I select qgis.bat, it still does not work. Even when I select Qgis 3.2.exe as default program, qgis will start, but without the layers in de QGZ file!

does it work if you drag and drop the qgz file inside an open qgis 3.2 instance?

#4 Updated by Jürgen Fischer over 5 years ago

  • % Done changed from 0 to 100
  • Status changed from Feedback to Closed

#5 Updated by A. Egberts over 5 years ago

Jürgen Fischer wrote:

Applied in changeset qgis|d66d1eec1b1f4183c16a6a544f09e326d0657ada.

Drag and Drop works! so YES that works, bur in windows explorer I want to double clik the QGZ file to open!

#6 Updated by Giovanni Manghi over 5 years ago

A. Egberts wrote:

Jürgen Fischer wrote:

Applied in changeset qgis|d66d1eec1b1f4183c16a6a544f09e326d0657ada.

Drag and Drop works! so YES that works, bur in windows explorer I want to double clik the QGZ file to open!

it was fixed. Now just wait for the next point release.

#7 Updated by Jürgen Fischer over 5 years ago

  • Assignee set to Jürgen Fischer
  • Status changed from Closed to Reopened

Giovanni Manghi wrote:

A. Egberts wrote:

Jürgen Fischer wrote:

Applied in changeset qgis|d66d1eec1b1f4183c16a6a544f09e326d0657ada.

Drag and Drop works! so YES that works, bur in windows explorer I want to double clik the QGZ file to open!

it was fixed. Now just wait for the next point release.

Hang on - not fully yet. Just noticed that QGIS doesn't handle .qgz on the command line at all - so this isn't a pure windows issue as I thought. The fix just spawns QGIS when you click on a compressed project, but will still ignore it.

#8 Updated by Jürgen Fischer over 5 years ago

  • Status changed from Reopened to Closed

Also available in: Atom PDF