Bug 311766 - FIle > New from Template wizard tries to put files in /
Summary: FIle > New from Template wizard tries to put files in /
Status: RESOLVED DUPLICATE of bug 312105
Alias: None
Product: kdevelop
Classification: Applications
Component: file create (show other bugs)
Version: git master
Platform: openSUSE Linux
: NOR normal
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-16 11:01 UTC by Luca Beltrame
Modified: 2012-12-23 10:24 UTC (History)
1 user (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 Luca Beltrame 2012-12-16 11:01:29 UTC
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.
Comment 1 Kevin Funk 2012-12-23 10:24:13 UTC

*** This bug has been marked as a duplicate of bug 312105 ***