Bug 56477

Summary: "New" command should default to the directory of the currently active source file
Product: [Applications] kdevelop Reporter: Paul Hoepfner-Homme <ahd9ryi02>
Component: file createAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: wishlist CC: esigra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Paul Hoepfner-Homme 2003-03-27 06:01:25 UTC
Version:           unknown (using KDE 3.1.0)
Compiler:          gcc version 2.95.3 20010315 (release)
OS:          Linux (i686) release 2.4.19-pre7

Whenever I create a new file in KDevelop, either through one of the items in the New File pane or by clicking File->New..., the default directory is my project's root directory. Since many of my source files reside in deeply nested directories of my project root directory, I always have to make my way down there again every time I want to create a new file. The "New File" dialog - in both the File->New and "New File" pane cases - should default to the directory of the currently active source file open. If there is no currently active source file open, only then should I default to the project root directory. This would save me and I'm sure many other users a lot of time looking for the right directory every time.
Comment 1 Julian Rockey 2003-03-27 18:30:14 UTC
You don't specify which version of KDevelop you are running. But current CVS for Gideon 
(KDevelop 3) has this implemented. 
 
Comment 2 Paul Hoepfner-Homme 2003-03-27 18:41:41 UTC
I am actually using a CVS version of Gideon. It's probably about a month or so old now, 
though. When I reported the bug, I used the "Report Bug" command in the Gideon 
help menu. Then I clicked the link to report the bug and went through the wizard. It 
never gave me a chance to provide the version of KDevelop. It gave me the option of 
modifying only these fields: 
 
KDE Version - unknown (KDE 3.1.0) 
Application - Integrated Development Environment 
Operating System - Linux (i686) release 2.4.19-pre7 
Compiler - gcc version 2.95.3 20010315 (release) 
 
and they all looked correct to me. How am I supposed to supply the version number of 
KDevelop when I report a bug? 
Comment 3 Paul Hoepfner-Homme 2003-03-28 18:17:36 UTC
Why was this bug changed to "wishlist" status if Julian Rockey said "current CVS for 
Gideon (KDevelop 3) has this implemented"? It would make more sense to me if it 
were confirmed and closed, not put on the back-burner (especially since it's 
apparently already been fixed). 
Comment 4 Caleb Tennis 2003-03-28 20:43:35 UTC
We will confirm this as fixed in cvs. 
 
The "bug reporting" bug also should be fixed.  Please file a report for it if you have more 
problems.  Thanks! 
Comment 5 esigra 2005-12-20 15:00:49 UTC
I tried with Kdevelop 3.2.1 and the bug is present. I had a file open and pressed Ctrl+N. The "New file"-dialog shows my home directory. This is not where the open file is. I just posted the related bug 118716.
Comment 6 Amilcar do Carmo Lucas 2005-12-27 10:32:10 UTC
Sigra the bugs only get reopened if someone is able to reproduce them in the latest stable version.

Today the latest stable version is 3.3.0