Bug 116693 - dcop konsole-${PID} ${NAME} restore does not get focus
Summary: dcop konsole-${PID} ${NAME} restore does not get focus
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: FreeBSD Ports FreeBSD
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-19 09:32 UTC by Eric Kjeldergaard
Modified: 2006-01-06 08:03 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 Eric Kjeldergaard 2005-11-19 09:32:25 UTC
Version:            (using KDE KDE 3.4.3)
Installed from:    FreeBSD Ports
Compiler:          gcc 3.4.4 
OS:                FreeBSD

if I enter 
dcop konsole-${PID} ${NAME} restore
at the command line, konsole shows itself again, but does not get focus.  If I do the same thing with konqueror, it shows itself and does get focus.  I think that makes it a konsole issue and not a kwin one.  I am using the nokuake script (it's on kde-apps site) and thus would like focus switched automatically to konsole when I hit a hotkey that does the dcop restore command.  The author of nokuake seems to have noticed this behaviour, and thus recommends a separate application for switching focus.  I wouldn't think that necessary with the powerful kwin.
Comment 1 Kurt Hindenburg 2005-11-19 23:22:50 UTC
I couldn't duplicate your results from Konq.  I think the focus issue has to do with what type of focus you have set in KControl.

Anyway, this works for me:
% dcop konsole-14584  konsole-mainwindow#1 setShown true

On my system, the Konsole is restored and has the focus.
Comment 2 Eric Kjeldergaard 2005-11-20 08:00:36 UTC
Found it!  It is because the konsole has the "Special Window Settings..." of "Skip Taskbar".  Should this really mean that it doesn't get focus?  This is a default setting for the nokuake terminal.  
Comment 3 Kurt Hindenburg 2006-01-06 07:48:58 UTC
See comment #1.  Don't think Konsole is doing anything wrong here.
Comment 4 Eric Kjeldergaard 2006-01-06 08:03:02 UTC
Right indeed.  This is definitely a KWin thing and not a Konsole one.  Sorry for the trouble.