Problem with 'close' button in Simplified IDEAL?

Matthew Woehlke mw_triad at users.sourceforge.net
Fri Nov 10 22:25:42 UTC 2006


Andreas Pakulat wrote:
> On 10.11.06 14:22:12, Matthew Woehlke wrote:
>> I've noticed that if I open a class (.cpp), and then its header (.h) 
>> such that I get split mode, the tab 'close' button always closes the 
>> .cpp regardless of which one has focus. Is it supposed to work this way? 
>> Or am I doing something wrong?
> 
> Which split-mode? 

The one in KDevelop-svn's .kdevelop. What, can't you read my mind? ;-)

> There are 2, one using a 2nd tab-widget being
> activated via the Window menu. And the other being activated through the
> C++ Support page in the project options.

Yes, I *finally* found that... not the most obvious place for a UI 
setting. IIRC Kdevelop4 does much better, here? (For one, 'project' and 
'global' options are in the same dialog, yes?)

> The 2nd version works here and the first should work too.

Hmm, not here. I just checked the latest svn (as of a few hours ago, at 
least). I am in KDevelop's project, src/newui.

STEPS TO REPRODUCE:
0. Close all tabs. Open .kdevelop for KDevelop svn, in the same. Load 
'file tree' plugin if not loaded*.
1. Go to file tree, expand src/ and src/newui
2. [Double-]Click 'buttonbar.cpp'
   - There is now one, non-split tab open: buttonbar.cpp
3. [Double-]Click 'buttonbar.h'
   - Single tab now splits into two, caption is "buttonbar.h"
     (Obviously this needs 'split mode 2' as described above enabled)
4. Click tab 'close' button

ACTUAL RESULT:
buttonbar.cpp closes, leaving only buttonbar.h open.

EXPECTED RESULT:
File that is active (i.e. has its name in the tab caption, i.e. 
"buttonbar.h") is closed.

(*I doubt file tree has anything to do with it, but just in case... 
Anyway this is how I am opening files.)

-- 
Matthew
"You're older than you've ever been / And now you're even older"
   -- They Might Be Giants





More information about the KDevelop-devel mailing list