Bug 373456 - Strange behaviour, if "find/replace" directory is named "build"
Summary: Strange behaviour, if "find/replace" directory is named "build"
Status: RESOLVED DUPLICATE of bug 361760
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: grepview (other bugs)
Version First Reported In: 5.0.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-09 10:17 UTC by poldi871
Modified: 2020-03-31 14:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description poldi871 2016-12-09 10:17:53 UTC
System: OpenSuSE-Leap 42.2 (same Problem on OpenSuSE-12.2)
Kdevelop: 4.7.2

Problem: "Seach/replace files" doesn't show any hits if parent directory is named "build".

How to reproduce:
1. Take any package, here as an example, "ppp-2.4.7"
2. Copy it to any folder, where the path ends with "build" (here: "/temp/build/ppp-2.4.7")
3. "Open/Import project" -> "/temp/build/ppp-2.4.7" the package into kdevelop as custom project.
4. Now make a "search/replace files" on "/temp/build/ppp-2.4.7" for "include".

-> no matches were found.
The problem occurs with any combinations of access rights.

Now the counterexample:
1. Take the same package, here "ppp-2.4.7"
2. Copy it to any folder, where the path does NOT end with "build" (here: "/temp/ppp-2.4.7")
3. "Open/Import project" -> "/temp/ppp-2.4.7" the package into kdevelop as custom project.
4. Now make a "search/replace files" on "/temp/ppp-2.4.7" for "include".

-> 1232 matches in 125 files.

This is annoying, because unfortunately my most used directory to search for contexts is the standard build directory of "buildroot" which unfortunately is "build". Kfind is no good alternative (ist works), because then I have to give up all the "goodies" of kdevelop.

Poldi
Comment 1 poldi871 2016-12-09 11:01:29 UTC
Addon: same problem on OpenSuSE-Leap 42.2 and kdevelop 5.0.1
Comment 2 Igor Kushnir 2020-03-31 14:22:41 UTC
*** This bug has been marked as a duplicate of bug 361760 ***