| Summary: | FIle > New from Template wizard tries to put files in / | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Luca Beltrame <lbeltrame> |
| Component: | file create | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | |
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | 4.3.0 | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
*** This bug has been marked as a duplicate of bug 312105 *** |
When creating a new C++ class using the "FIle > New From Template" wizard the paths of the files to be written to disk with the class definition have a starting path of /. This will make the saving fail (additionally without warnings) if accepted. Reproducible: Always Steps to Reproduce: 1. Create a new KDevelop project 2. Select File > New from Template 3. Select C++ > Basic > Basic 4. Create a class named "Dummy" 5. Keep default parameters for members and license 6. Go to the final step of the wizard, "Output" Actual Results: Header line edit points to /dummy.h Implementation line edit points to /dummy.cpp Expected Results: Both Header and Implementation line edits should point to files within the project's directory, e.g. if a project is in /home/myuser/projects/foo, they should be /home/myuser/projects/foo/dummy.{h, cpp} Latest git master of kdevelop and kdevplatform.