After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 160777 - Must have Nautilus window open to authenticated gnome-vfs share to open those files
Must have Nautilus window open to authenticated gnome-vfs share to open those...
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
git master
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2004-12-08 15:56 UTC by Joshua Ginsberg
Modified: 2005-07-14 16:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Joshua Ginsberg 2004-12-08 15:56:09 UTC
1) In Nautilus, use "Connect to Server" to make a connection to an SMB share
requiring authentication. Save the authentication data for the session and in
the keyring.
2) Pick an XLS file in the share and drag it to the toolbar -- a launcher is
created.
3) Edit the launcher so that it runs Gnumeric to open the file, not Nautilus.
4) Close all Nautilus windows viewing the SMB share and wait a minute or two.
5) Click on the launcher to activate it.

I would expect Gnumeric to access the same storage of authentication data that
Nautilus uses and be able to open the file. Instead, it opens a blank sheet and
tells me that access to the file I wanted was denied. If I then open the
Nautilus window to the SMB share again and try my launcher again, Gnumeric opens
the file no problem.

-jag
Comment 1 Jody Goldberg 2005-02-10 04:25:24 UTC
Alex : I suspect you can shed some light on this ?
Comment 2 Alexander Larsson 2005-03-09 16:26:35 UTC
You need authentication callbacks installed.
call gnome_authentication_manager_init() from libgnomeui
Comment 3 Jon Kåre Hellan 2005-03-09 20:08:41 UTC
gnumeric-1.2 main() already does this. 1.4 and HEAD don't.
Comment 4 Jody Goldberg 2005-03-10 03:36:24 UTC
Added for 1.4.3
Comment 5 Jon Kåre Hellan 2005-07-09 13:58:58 UTC
Jody: Looks like you have a reason for keeping this out of HEAD. What is it?
Comment 6 Jon Kåre Hellan 2005-07-14 07:56:51 UTC
The place is gnome_program_init. We have to call gnome_vfs_init before calling
gnome_authentication_manager_init. But this is WITH_GNOME code, so I don't think
it's a problem.
Comment 7 Jon Kåre Hellan 2005-07-14 15:37:15 UTC
Fixed in cvs
Comment 8 Joshua Ginsberg 2005-07-14 16:25:28 UTC
Thank you for yet another perfect case study of why open source (including open
bug reporting, testing, and fixing) rocks.

-jag