Bug 187649 - don't allow to find in remote urls
Summary: don't allow to find in remote urls
Status: CONFIRMED
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: HI normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-19 22:08 UTC by meyerm
Modified: 2023-07-12 22:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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