Skip to content

Unable to open a project in Windows via drag&drop, when the project is stored in a GPKG file on a mapped drive or a drive that is not C: #46969

@cxcandid

Description

@cxcandid

What is the bug or the crash?

We cannot open a QGIS project in Windows via drag&drop, when the project is stored in a GPKG file on a mapped drive. QGIS complains that the URI is invalid. Everything works fine if we open the project via QGIS Browser, or move the GPKG file to a local drive. "Open From... > Geopackage" works as well. There is even no error when we open a project from a GPKG file stored in SharePoint using WebDAV.

Steps to reproduce the issue

Store a QGIS project inside a GPKG file and put that file on a mapped drive (i.e. X:).
Then try to open the project via file drag&drop.

Versions

QGIS 3.22.3 Windows

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

  • I tried with a new QGIS profile

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugEither a bug report, or a bug fix. Let's hope for the latter!Data ProviderRelated to specific vector, raster or mesh data providersProjectWindowsRelated to Windows operating system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions