Summary: | Add files for a second time | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Amilcar do Carmo Lucas <a.lucas> |
Component: | Build tools: Automake | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | haroldo.santos, iferca_1976 |
Priority: | NOR | ||
Version: | 3.0.0a4 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Amilcar do Carmo Lucas
2003-02-26 13:39:51 UTC
I can't seem to recreate this with the current cvs. Does it still crash for you? Sorry. Dumb old me. Of couse the pull down menu did't work !!!! I had no file groups defined!!! I went to Project Options > File groups and added a *.cpp and a *.h group. Then it worked And I could recreate the CRASH. This was with KDevelop 3.0 from today's CVS I think the bug has something to do with importing the subdirectory named CVS twice (the autoproject part should ignore this subdirectories, because they don't contain any usefull info, after alll the isn't any source code in them ;) ). Hope this helps. Amilcar I was able to reproduce this today. This time it didn't crash when I pressed "Add all" for the second time, but when I pressed OK in the end OK, I've tracked it down! The importView pointer is invalid when the function AddExistingFilesDialog::importItems() is called for the second time. But I have no clue what makes this pointer become invalid between the first and second invocation of AddExistingFilesDialog::importItems() :( I gess it has something to do with the file filter, but I'm not sure. *** Bug 76828 has been marked as a duplicate of this bug. *** Seems to be fixed in kdevelop-3.1.91 (recent CVS) * automake manager -> add existing files to target * select filter *.cpp * add all * select filter *.h * add all * ok Files are added, everything's fine. I've tested this two weeks ago and it did not work. I'll test it again and if it works, i'll close it. In Version 3.2.1 this case does not occur anymore, since you cannot add files twice. you get an warning that the file is already part of the projects. So maybe close this case? Well the problem was not the same files twice. The problem was to add diferent files, first select .cc files in the filter than .h in the filter. It'll retest this once I get my local svn to work again. I think my fix for a problem on the fileselectorwidget fixed this. I was able to reproduce this before that fix, but now cannot. That fix was to the 3.4 branch, revision 611365 Please reopen this bug if the problem returns or persists. *** Bug 138498 has been marked as a duplicate of this bug. *** |