Bug 186293 - F4 opens a Konsole underneath Konqueror, wrong focus
Summary: F4 opens a Konsole underneath Konqueror, wrong focus
Status: RESOLVED DUPLICATE of bug 221107
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 205808 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-06 01:51 UTC by Neil Skrypuch
Modified: 2011-12-23 15:16 UTC (History)
5 users (show)

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 Neil Skrypuch 2009-03-06 01:51:12 UTC
Version:            (using KDE 4.2.0)
Compiler:          gcc version 4.1.2 (Gentoo 4.1.2 p1.1) 
OS:                Linux
Installed from:    Gentoo Packages

Open a local directory in Konqueror and hit F4, this brings up a new Konsole, but it's underneath Konqueror, and without focus. The new Konsole should be on top and initially given focus.

Also, this is with KDE 4.2.1, which isn't in the version list yet for some reason. Furthermore, this is a regression from KDE 4.2.0 to 4.2.1.
Comment 1 A. Spehr 2009-03-06 02:36:25 UTC
Confirmed in trunk. (4.2+)
Comment 2 A. Spehr 2009-03-06 02:42:35 UTC
(does this reassign the bug right?)
Comment 3 Neil Skrypuch 2009-08-09 22:12:06 UTC
Still an issue in Konqueror 4.3.0.
Comment 4 Neil Skrypuch 2010-02-27 09:22:35 UTC
Still an issue in 4.4.0.
Comment 5 Neil Skrypuch 2011-01-29 04:04:24 UTC
Still an issue in 4.6.0.
Comment 6 Thomas Lübking 2011-01-29 16:30:53 UTC
this will not "fix" from kwin side

the reason is the focus stealing policy:
konqueror spawns the konsole window on keypress, the window gets a timestamp and than you release the key and konqueror gets an update to it's usertime ("last interaction")

since konsole is in another process and there's no other hint that this "belongs" to konqueror (eg, group leader) this is by most focus stealing policies (except for "none" which is btw. the plain NETWM way, while "low" is kwin default)  interpreted as "user interacts on konqueror, don't allow new client to steal the focus"

The solution would be for konqueror to set a hint on the konsole window "this belongs to me" or simply spawn it on the key release instead of the press.

-> re-assigning, sorry that it took so long :-(
Comment 7 Neil Skrypuch 2011-07-29 01:52:31 UTC
Still an issue in 4.7.0.
Comment 8 Jekyll Wu 2011-08-17 08:30:13 UTC
*** Bug 205808 has been marked as a duplicate of this bug. ***
Comment 9 Jekyll Wu 2011-09-20 00:15:19 UTC
I think this probem is actually the same as bug #221107. See its comment #8.
Comment 10 Dawit Alemayehu 2011-12-23 15:16:52 UTC
(In reply to comment #9)
> I think this probem is actually the same as bug #221107. See its comment #8.

Yes it is. Actually that is a perfect description of how to and not to reproduce this bug ; so I am going to mark this as the duplicate of that one.

*** This bug has been marked as a duplicate of bug 221107 ***