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 83702 - Dnd of apps on desktop is of no use.
Dnd of apps on desktop is of no use.
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Desktop
0.x.x [obsolete]
Other Solaris
: High major
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 86797 (view as bug list)
Depends on:
Blocks: 78397 80453
 
 
Reported: 2002-05-31 14:21 UTC by Kalpesh Shah
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
.desktop file that doesn't work (119 bytes, text/plain)
2002-05-31 14:41 UTC, Dave Bordoley [Not Reading Bug Mail]
  Details
fix (2.19 KB, patch)
2002-05-31 20:45 UTC, Dave Camp
none Details | Review
another rev (2.42 KB, patch)
2002-05-31 22:17 UTC, Dave Camp
none Details | Review

Description Kalpesh Shah 2002-05-31 14:21:18 UTC
Using build of 29th may on Solaris.

Drag the application say "gedit" from the menus to the desktop.

It appears as "gedit.desktop" on the desktop.
On double click that application is suppose to launch. 
But, instead of application I get a kind of error window: 

Can't Display Location

Nautilus has no installed viewer capable of displaying
"applications:///Accesories/gedit.desktop".
Comment 1 Dave Bordoley [Not Reading Bug Mail] 2002-05-31 14:40:33 UTC
confirming...regression => high

George this use to work, did your recent applications:// menu fix
break this perhaps accidentally???
Comment 2 Dave Bordoley [Not Reading Bug Mail] 2002-05-31 14:41:04 UTC
Created attachment 8888 [details]
.desktop file that doesn't work
Comment 3 Luis Villa 2002-05-31 14:46:37 UTC
Dave, Alex: Sun considers this a blocker for their internal beta.
Please take care of it ASAP :)
Comment 4 Dave Camp 2002-05-31 20:45:18 UTC
Created attachment 8905 [details] [review]
fix
Comment 5 Dave Camp 2002-05-31 20:46:44 UTC
The attached patch allows any local uri (not just file: uris) to be
copied to the icon container (as opposed to being linked to).

While I was there, I also changed it to allow dragging to nonlocal
file: uris (try dragging from the panel to a directory on nfs).

Comment 6 Dave Camp 2002-05-31 20:47:46 UTC
I should mention that the behaviour of gnome-vfs's
gnome_vfs_uri_is_local() for file: uri's changed in gnome2, it now
return FALSE for afs and nfs files, where it didn't before.
Comment 7 Luis Villa 2002-05-31 20:55:59 UTC
Dave, can you put this in sun_patches? Thanks.
Comment 8 Dave Camp 2002-05-31 20:57:52 UTC
Dude, I am way ahead of you.
Comment 9 Darin Adler 2002-05-31 21:28:57 UTC
The patch needs a little work.



First, if we are going to need this check for "file: or local" in 

various places in nautilus then I'd like to see a function rather 

than cut and pasted code.



Second, when looking at the scheme you need to look for the 

colon too so you aren't confused by other strange schemes that 

start with "file" and you sould use eel_istr_has_prefix rather than 

strncmp for this sort of thing.



So it should be something like eel_istr_has_prefix(str, "file:"), but 

even better it should be a shared function with a sensible name.
Comment 10 Alexander Larsson 2002-05-31 21:49:53 UTC
The is_local thing really has to be resolved for real. We use it all
over the place to mean a few different things.

Sometimes it means, "Is on a local harddrive", sometimes it means "Is
mounted in the normal unix file namespace", and sometimes it means "Is
fast". There are probably some other uses too.

We need to eventually split these up in some sensible way.
Comment 11 Dave Camp 2002-05-31 22:17:53 UTC
Created attachment 8910 [details] [review]
another rev
Comment 12 Dave Camp 2002-05-31 22:18:49 UTC
I didn't try to solve the whole problem yet, but this rev fixes
darin's problems.

Yeah, the is_local stuff is a bit of a mess.
Comment 13 Andrew Sobala 2002-06-12 16:56:53 UTC
Just confirming that this is still open, or was in a cvs co 10JUN2002
Comment 14 Dave Camp 2002-06-25 18:06:51 UTC
I just committed a (different) fix to this problem.
Comment 15 Dave Bordoley [Not Reading Bug Mail] 2002-07-17 16:05:04 UTC
*** Bug 86797 has been marked as a duplicate of this bug. ***