Bug 62510 - creating new file in automake project
Summary: creating new file in automake project
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: Automake (show other bugs)
Version: 3.0.0a5
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-11 23:53 UTC by shift
Modified: 2007-11-30 16:35 UTC (History)
0 users

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 shift 2003-08-11 23:53:48 UTC
Version:           3.0.0a5 (using KDE 3.1.3)
Installed from:    SuSE
Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux)
OS:          Linux (i686) release 2.4.21-4-default

Usability: 

when i click on "Create New File..." in right-mouse-button menu of a certain target in certain automake subproject, first it asks me to select the file name and folder where i would like this file to be -- by default it suggest the folder of that sub-project, which is just what i would expect. 

but! on next screen it asks me to choose which target in which subproject should i include this file into, and by default is suggests me to add the file to the current "active" target. --- this is good for a case when i chose to "create new file" from the main application menu, but why asking that when i selected "Create new file" by right-clicking on a certain target -- i kinda already espressed my wish to add the file to this distinct target, and none else.
Comment 1 Jens Dagerbo 2004-02-07 09:44:22 UTC
Doesn't this constitute a bug? I think so...
Comment 2 Andreas Pakulat 2007-02-23 21:31:06 UTC
I too think this is a bug, even if this would still show the select-target-dialog it should preselect the selected target.
Comment 3 Andreas Pakulat 2007-11-30 16:35:43 UTC
SVN commit 743306 by apaku:

Try harder to find a selected subproject/target pair for adding files. If anybody knew it was that easy this would've probably been fixed ages ago.

BUG:62510

 M  +47 -3     autoprojectwidget.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=743306