Version: (using KDE KDE 3.1.3) Installed from: Mandrake RPMs Compiler: gcc 3.3.1 OS: Linux Whilst working on a project with more than one file open, the "compile file" command compiles the last saved file and not the one in current focus.
This is KDevelop 3.0Beta1 compiled from sources, *not* mandrake RPMs!
Wich Build Tool GUI? -Autotools -QMake -Custom -Generic -Ant -Pascal -Haskell ?
KDE Autoconf project, IDEA GUI mode (with Kate editor)
Some more information: When saving a cpp file then clicking the tab of another, the 'Compile file' command compiles the previously saved file instead of the currently focussed one. When saving a cpp file then clicking the tab of another and modifying the file, the 'Compile file' command compiles the currently focussed file (thus it works correctly). This is presumably because it autosaves the file first. Thus if one has a set of files like: base.h base.cpp derived.h derived.cpp where derived.cpp is dependant on base.h, if base.h is modified (and possibly saved) and then the derived.cpp file tab is clicked, a subsequent 'Compile file' command will compile base.cpp and not derived.cpp.
Confirmed
KMDI-IDEAl related, somehow. The partcontroller doesn't know the "active part" has changed.
Fixed by jowenn in CVS. I don't know if the fix is yet in place for 3.1/3.0, but CVS HEAD now works for most of the GUI modes (top level is still broken)
*** Bug 68002 has been marked as a duplicate of this bug. ***
*** Bug 68114 has been marked as a duplicate of this bug. ***