Bug 187649

Summary: don't allow to find in remote urls
Product: [Applications] kdevelop Reporter: meyerm
Component: generalAssignee: kdevelop-bugs-null
Status: CONFIRMED ---    
Severity: normal CC: nate, stefan.bruens
Priority: HI    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description meyerm 2009-03-19 22:08:02 UTC
Version:            (using KDE 4.2.1)
OS:                Linux
Installed from:    Ubuntu Packages

The "search in files" functionality allows me to select a remote directory with my bookmarks (sftp) but is not searching on the server but locally in a directory named as the remote directory is named on the server.

It would be great if it could also work on remote directories (the user is responsible to have a fast connection to the server ;-) ).
Comment 1 Andreas Pakulat 2009-03-21 11:12:27 UTC
KDevelop cannot know wether a connection is fast or stable enough to do remote find-in-files. Besides we'd need to write a new grep+find (at least) to do this, as those tools don't work on remote urls. I think you agree downloading a whole dir including subdirs from a remote url to a temp-dir, just to do a find+grep in there is not an option either.

So I'll change this bugreports title to match what should really be fixed, namely that we don't allow the user to pick a remote url for the directory.
Comment 2 meyerm 2009-03-21 14:59:56 UTC
Sounds good. Perhaps this can be revised later if the user has a working ssh connection to the remote dir (calling find and grep over ssh). But for the time beeing deactivating it (with a hint why it isn't available) seems to be the best alternative.
Comment 3 Andreas Pakulat 2009-07-25 20:35:13 UTC
We're already disallowing non-local directories to be used by setting the KUrlRequester to KFile::LocalOnly, if you can still choose remote dirs then thats a bug in kurlrequester. I can confirm that.
Comment 4 Stefan BrĂ¼ns 2023-07-12 22:05:23 UTC
Reassigning