Bug 80795 - Find-Select-Replace needs open project to work
Summary: Find-Select-Replace needs open project to work
Status: RESOLVED FIXED
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: grepview (show other bugs)
Version: unspecified
Platform: Mandrake RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-02 18:35 UTC by Helge Hielscher
Modified: 2013-03-31 01:22 UTC (History)
0 users

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 Helge Hielscher 2004-05-02 18:35:09 UTC
Version:            (using KDE KDE 3.2.2)
Installed from:    Mandrake RPMs

Edit/Find-Select-Replace needs an open project to work. Without a project, the menu item Find-Select-Replace is not greyed out, but no dialog comes up.
Comment 1 Amilcar do Carmo Lucas 2004-05-03 09:56:09 UTC
Find-Select-Replace works on project files.
So if there is no project, there are no files to "Find-Select-Replace"

But you are correct it should be greyed out when no project is loaded.
Comment 2 Helge Hielscher 2004-05-03 11:08:14 UTC
No, you can open files regardless of open projects. Replacing in "Files under Path" would be useful even with no files open at all.
Comment 3 Amilcar do Carmo Lucas 2004-05-03 14:34:50 UTC
So this is not a bug. This is a whish.

You wish for a Find-Select-Replace tool that works on a selected path, regardless of project files.
Comment 4 Jens Dagerbo 2004-05-03 19:47:54 UTC
Yeah, it really should be greyed out. I'll fix that somewhen. 

I never meant for it to work on anything else than project files, the design goal was mostly seen as a lowtech refactoring tool, and there are far more capable generic string replace apps if you need that. (See KFileReplace)

Personally, I still agree with me about this choice, but I can of course see the point of doing it differently. Maybe I'll get around to it...
Comment 5 Andreas Pakulat 2008-06-29 19:40:28 UTC
then this is a bug not a wish.
Comment 6 Andreas Pakulat 2008-07-05 22:55:09 UTC
I've just fixed this so the next release will disable the action in the menu when no project is open.