Issue 19175 - register for uri support in Gnome 2
Summary: register for uri support in Gnome 2
Status: CLOSED FIXED
Alias: None
Product: Installation
Classification: Application
Component: code (show other issues)
Version: OOo 1.1 RC3
Hardware: PC Linux, all
: P3 Trivial with 3 votes (vote)
Target Milestone: OOo 2.0
Assignee: thorsten.martens
QA Contact: issues@installation
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2003-09-07 00:36 UTC by 7kaltoid
Modified: 2005-08-10 12:55 UTC (History)
3 users (show)

See Also:
Issue Type: TASK
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Screenshot of error message labelled "Star Office" (121.32 KB, image/png)
2003-09-10 20:13 UTC, 7kaltoid
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description 7kaltoid 2003-09-07 00:36:55 UTC
This is a cleanup item.
While using SMB client to browse files on mixed network, double clicking on a 
file type associated with OOo produces an error message that says "Star Office" 
cannot access SMB files.  Name change is needed.
Comment 1 jack.warchold 2003-09-08 16:52:02 UTC
jw: reassigend to jw
Comment 2 jack.warchold 2003-09-10 10:38:11 UTC
sorry i can not reproduce this here.
i can open and save file on a SMB share.

can you please attach a screenshot of the error message?
Comment 3 7kaltoid 2003-09-10 20:13:22 UTC
Created attachment 9183 [details]
Screenshot of error message labelled "Star Office"
Comment 4 7kaltoid 2003-09-10 20:21:07 UTC
Jack,
First time I tried to send an attachment to IZ and I was bounced 
before providing additional info.

The RHL box runs kernel 2.4.20-20.9

OOo was not running at the time the filename was double-clicked.  The 
error message box was the first item to pop up.

Doug
Comment 5 jack.warchold 2003-09-11 10:41:30 UTC
Reassigned to tm
Comment 6 thorsten.martens 2003-09-25 14:51:36 UTC
TM->HRO: Can you please have a look ? We weren´t able to reproduce
this problem. Thanks !
Comment 7 hennes.rohling 2003-09-25 15:38:17 UTC
Oviously this a message from the file manager not from OOo. I'm not
aware of this but obviously an application has to register for smb
protocol otherwise I've no idea how the filemanager knows that OOo is
not capable of opening smb URLs (what actually is true).

Is this a GNOME desktop ?

@Dough: I'm wondering how you got that work because it can't work.
Probably you mounted a SMB volume into the filesystem and were able to
open files through the filesystem ?

@Christof, Oliver:
Please investigate wether an application has to register for several
protocols in GNOME vfs to let nautilus use the application for data
stored on an SMB share. What about HTTP ? This maybe a general issue
for OOo 2.0. And is this really Nautilus on GNOME ?  The appearance
and the icons don't tell me what kind of desktop this is.

OS set to Linux.

Comment 8 hennes.rohling 2003-09-25 15:39:00 UTC
CCed.
Comment 9 7kaltoid 2003-09-28 05:32:36 UTC
Following the latest round of updates from RH, I can no longer 
reproduce the described behavior.  I now get an error message which 
states that Nautilus doesn't have a viewer for the file, in this case 
a .sxw file.

Anyway, the desktop is Gnome just to answer that question.

As the problem can no longer be recreated, I guess the cause needs to 
be ascribed to entropy and the issue closed.

Doug  
Comment 10 tamblyne 2003-09-29 03:34:54 UTC
Adding oooqa
Comment 11 mmeeks 2003-09-29 14:37:06 UTC
So; since StarOffice can't cope with smb:// anyway, and nautilus will
not copy it to a temp file and open it (due to the user confusion
that'd cause) you're scuppered.

However - it is possible that there is room for improvement here.
StarOffice should install a .application description file; there are
several fields in that that should be filled in eg.:

epiphany
        command=epiphany
        name=Epiphany
        can_open_multiple_files=false
        startup_notify=true
        expects_uris=true
        requires_terminal=false
        supported_uri_schemes=file,http,ftp
       
mime_types=text/html,x-directory/webdav,x-directory/webdav-prefer-directory,image/gif,image/jpeg

You prolly want expects_uris, and supported_uri_schemes=http,https,
etc. in a similar fashion to epiphany.

Of course - with Gnome VFS support - it's only necessary to add:
uses_gnomevfs=true

HTH.
Comment 12 nospam4obr 2003-09-30 14:48:02 UTC
Grabbing this issue as RFE.
Comment 13 nospam4obr 2003-09-30 14:52:00 UTC
Changing the Summary from: Error message says "Star Office cannot
access SMB file."
Comment 14 nospam4obr 2004-07-30 10:19:44 UTC
Changing issue type to TASK (single line change).
Comment 15 nospam4obr 2005-02-17 12:22:25 UTC
Since it is not clear that we will have sufficient time for testing this, I'll
re-target this to 2.0.1.
Comment 16 nospam4obr 2005-03-02 13:45:51 UTC
*** Issue 43504 has been marked as a duplicate of this issue. ***
Comment 17 nospam4obr 2005-03-02 13:56:11 UTC
As suggested in i43504 I will use "uses_gnomevfs" instead of
"supported_uri_schemes".
Comment 18 nospam4obr 2005-05-13 06:37:28 UTC
Seems we got a little more time until 2.0, changing target.
Comment 19 nospam4obr 2005-05-23 10:02:58 UTC
Michael, did you notice the incompatibility between gnome-vfs & OOo regarding
ftp uris ? 

It seems that nautilus passes non RFC compliant ftp uris to applications (no
user in url, absolute paths instead of a sequence of 'cd' commands). It happens
regardsless whether the app specified "uses_gnomevfs" or
"supported_uri_schemes=ftp".

This makes me think we should use "supported_uri_schemes=file,http,https,smb"
instead. What do you think ?
Comment 20 nospam4obr 2005-05-27 14:54:19 UTC
Until it is clear how the issue with ftp urls gets resolved, we are using now: 
supported_uri_schemes=file,http,https,smb

Fixed in CWS sysui07.
Comment 21 nospam4obr 2005-05-30 13:37:30 UTC
obr @ of: please verify.

re-open issue and reassign to of@openoffice.org
Comment 22 nospam4obr 2005-05-30 13:37:34 UTC
reassign to of@openoffice.org
Comment 23 nospam4obr 2005-05-30 13:37:42 UTC
reset resolution to FIXED
Comment 24 Olaf Felka 2005-05-30 14:36:14 UTC
of @ tm: Please verify. 

re-open issue and reassign to tm@openoffice.org
Comment 25 Olaf Felka 2005-05-30 14:36:18 UTC
reassign to tm@openoffice.org
Comment 26 Olaf Felka 2005-05-30 14:36:23 UTC
reset resolution to FIXED
Comment 27 Olaf Felka 2005-05-31 16:15:49 UTC
of: Verified in cws sysui7.
Comment 28 thorsten.martens 2005-08-10 12:55:05 UTC
.