Bug 164838

Summary: Create New Link fails for pseudo-local URLs
Product: [Applications] konqueror Reporter: Ambroz Bizjak <ambrop7>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: fix for kdebase

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