Bug 164838 - Create New Link fails for pseudo-local URLs
Summary: Create New Link fails for pseudo-local URLs
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-24 18:14 UTC by Ambroz Bizjak
Modified: 2008-07-03 01:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
fix for kdebase (3.30 KB, patch)
2008-06-24 18:14 UTC, Ambroz Bizjak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ambroz Bizjak 2008-06-24 18:14:10 UTC
Version:            (using Devel)
Installed from:    Compiled sources
OS:                Linux

The Create New -> Link to Location dialog fails to add the proper URL to the copied file if the destination is something like "desktop:/xxx.desktop". Attaching a fix to kdebase.
Comment 1 Ambroz Bizjak 2008-06-24 18:14:41 UTC
Created attachment 25567 [details]
fix for kdebase
Comment 2 David Faure 2008-07-03 00:23:24 UTC
Thanks for the patch. This is only pseudo-network-transparency though, it still fails with real remote protocols like fish:/. I'll have a look at fixing both in one go :)
Comment 3 David Faure 2008-07-03 01:22:24 UTC
SVN commit 827432 by dfaure:

Fix creation of Type=URL .desktop files over remote protocols (including desktop:/, but also fish:/, so mostLocalUrl wasn't enough)
instead of trying to edit the file after copying it (which only worked locally),
make a tempfile, edit it, and then upload it.
BUG: 164838


 M  +55 -48    knewmenu.cpp  
 M  +0 -3      knewmenu.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=827432