Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xdg-desktop-portal-gnome
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 30
    • Issues 30
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • xdg-desktop-portal-gnome
  • Issues
  • #48
Closed
Open
Issue created Jun 13, 2022 by Alexandre Lissy@lissyx

File picker should not display remote gvfs mountpoint it cannot handle until https://github.com/flatpak/xdg-desktop-portal/issues/213 is fixed

As reported on https://bugzilla.mozilla.org/show_bug.cgi?id=1773624 and on several other duplicates, users trying to save a download to a CIFS remote share that has been mounted from Nautilus ends up with nothing happening.

Debugging has reveal that uri in https://github.com/flatpak/xdg-desktop-portal/blob/e3ca5567a2dbb5b763a383bba5ff1c0437a7e851/src/documents.c#L79 is okay, referring to a smb:// value, but the subsequent call returns a nullptr https://github.com/flatpak/xdg-desktop-portal/blob/e3ca5567a2dbb5b763a383bba5ff1c0437a7e851/src/documents.c#L80

I have been pointed to that this is on purpose and handled by https://github.com/flatpak/xdg-desktop-portal/blob/fe9c5a11a199c966b32f6b7327136782544b845e/src/xdg-desktop-portal.c#L380-L381

I have also been pointed that there is another upstream issue to fix the behavior and allow users to perform that flow: https://github.com/flatpak/xdg-desktop-portal/issues/213

Until that issue is fixed, the XDG portal UI should probably not show remote mount points it cannot handle, otherwise it is confusing users.

Assignee
Assign to
Time tracking