Project

General

Profile

Bug #10790

It's not possible to import and export to network shares

Added by Peter Sonntag about 4 years ago. Updated about 1 year ago.

Status:
Closed: won't fix
Priority:
Low
Assignee:
-
Category:
Darkroom
Target version:
-
Start date:
12/18/2015
Due date:
% Done:

0%

Estimated time:
Affected Version:
git development version
System:
Fedora/RHEL
bitness:
64-bit
hardware architecture:
amd64/x86

Description

The file dialogs do not support the access to network shares.
When clicking on "+ other locations" only the current system appears.


Related issues

Has duplicate darktable - Feature #10817: gvfs foldersDuplicate12/26/2015

Has duplicate darktable - Feature #10917: Enable drag and drop from a samba mountNew02/17/2016

Has duplicate darktable - Feature #11984: Import from Network locationsDuplicate01/31/2018

History

#1 Updated by Roman Lebedev about 4 years ago

  • Status changed from New to Closed: upstream

That is a standard gtk file dialog, so it is the same for all other apps that use it.
The solution is probably to install some gnome-related package that provides support for those network shares.

#2 Updated by Peter Sonntag about 4 years ago

Please don't close this report.

This might be the gtk dialog. But it has to be configured so it supports the access of network files. Other programs can access it (gedit etc.)
Latexilla had the same issue. The additional command "file_chooser.set_local_only (false);" solved this issue.

#3 Updated by Roman Lebedev about 4 years ago

  • % Done changed from 0 to 20
  • Status changed from Closed: upstream to Incomplete

Are you sure this still happens on git master?

#4 Updated by Peter Sonntag about 4 years ago

I installed the file "darktable-2.0+git1450377424.355887d-1.1.x86_64.rpm"

#5 Updated by Peter Sonntag about 4 years ago

Peter Sonntag wrote:

I installed the file "darktable-2.0+git1450377424.355887d-1.1.x86_64.rpm"

From that source:
http://download.opensuse.org/repositories/home:/darix:/darktable:/master/Fedora_23/x86_64/

#6 Updated by Tobias Ellinghaus about 4 years ago

  • % Done changed from 20 to 0
  • Status changed from Incomplete to Closed: won't fix

Adding that flag would be easy, however, we would most likely get file locations that can't be opened using regular syscalls, so there is no point in allowing to select them. I just tried locally but have no idea what I have to do to get anything besides my local computer to show up in the list. The only solution I could think of is using GIO which I don't like.

#7 Updated by Tobias Ellinghaus about 4 years ago

  • Affected Version changed from git stable branch to git development version

Oh, one more thing: a dev snapshot is not "git stable branch".

#8 Updated by Roman Lebedev about 4 years ago

#9 Updated by Roman Lebedev about 4 years ago

  • Has duplicate Feature #10917: Enable drag and drop from a samba mount added

#10 Updated by Zeta Zeta about 4 years ago

As far as I remember when a path cannot be represented as local path gtk_file_chooser_get_filename returns NULL. So it should be safe to pass the choosen file (if not NULL) to the syscall.

#11 Updated by Chris Murphy over 2 years ago

If Darktable uses GtkFileChooserNative, this should work. If there's some deficiency in GtkFileChooserNative, then what's needed is a clear feature request for the Gtk folks to implement - rather than knock the use case. It's completely reasonable for people to want their photos on a NAS, rather than locally stored.

Similar problem with flatpak'd Gedit and the recommendation to use GtkFileChooserNative to fix it.
https://github.com/flatpak/flatpak/issues/893#event-1151685622

Affects darktable-2.2.5-4.fc27.x86_64, as well as the flatpak version on flathub.

#12 Updated by Roman Lebedev over 2 years ago

Chris Murphy wrote:

If Darktable uses GtkFileChooserNative, this should work. If there's some deficiency in GtkFileChooserNative, then what's needed is a clear feature request for the Gtk folks to implement - rather than knock the use case. It's completely reasonable for people to want their photos on a NAS, rather than locally stored.

Similar problem with flatpak'd Gedit and the recommendation to use GtkFileChooserNative to fix it.
https://github.com/flatpak/flatpak/issues/893#event-1151685622

Have you read the comment #6 https://redmine.darktable.org/issues/10790#note-6 ?

Affects darktable-2.2.5-4.fc27.x86_64, as well as the flatpak version on flathub.

#13 Updated by Tobias Ellinghaus over 2 years ago

Native file choosers are not an option as they don't support custom widgets.

#14 Updated by Roman Lebedev about 2 years ago

#15 Updated by Mattia M about 1 year ago

There's news about that?
I'm trying with Ubuntu 18.04. I mounted my NAS folder and with GNOME file browser I see all my photos.
With darktable, I can't see my folder.
I've tried with Gimp and it sees all mounted folder...

#16 Updated by Steve Phelps about 1 year ago

I've opened a new Bug #12561 for this issue. Windows users can workaround this issue by mapping a drive-letter, but this does not work for Linux users.

Also available in: Atom PDF

Go to top