Bug 81276

Summary: 'GBD cmd' loses focus when a debug command is issued through a shortcut
Product: [Applications] kdevelop Reporter: Nick Savoiu <savoiu>
Component: CPP DebuggerAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: wishlist CC: ghost, nhaehnle
Priority: NOR    
Version: 4.0.0   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nick Savoiu 2004-05-10 20:50:13 UTC
Version:           3.0.3 (using KDE KDE 3.2.2)
Installed from:    Compiled From Sources
Compiler:          gcc3.2 
OS:          Linux

When in the GDB tab and with 'GBD cmd' having input focus if I press the shortcut for 'Next' (or similar commands) the focus should still remain with 'GBD cmd' rather than going to the editor pane.
Comment 1 Vladimir Prus 2009-12-27 11:07:49 UTC
Still happens with todays HEAD. Fixing this might require that gdb's plugin 'showStepInSource' signal additionally specify if focus may be trasferred to editor, and that parameter be computed depending on whether the GDB window/input field now has the focus.
Comment 2 Nicolai Hähnle 2014-12-12 15:29:21 UTC
Dear Nick, a quick test shows that the current KDevelop master branch does not switch the focus around, so I'm marking this as Fixed.