Bug 180059 - Focus follows mouse gives focus to wrong window upon closing
Summary: Focus follows mouse gives focus to wrong window upon closing
Status: RESOLVED DUPLICATE of bug 183911
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 189410 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-08 20:59 UTC by Claus Wilke
Modified: 2010-10-10 21:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Claus Wilke 2009-01-08 20:59:24 UTC
Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    SuSE RPMs

Kwin settings:
-Focus follows mouse
-Auto raise
-no focus delay

Description:
If an application has more than one window open, and one of its windows is closed, then the focus goes to another window of the same application, even if the mouse is not in that window.

How to reproduce:
On an empty desktop, open konqueror. Open a second window with File->New Window. Now open konsole, and arrange the windows such that the konsole window lies between the two konqueror windows. Now close the top konqueror window (CTRL-Q). The mouse will be in the konsole window, but the konqueror window underneath will have the focus.

If two independent instances of konqueror are started, instead of one instance with two windows, then the problem does not occur and the konsole window gets focus as expected.

This bug may be related to bug 159989.
Comment 1 FiNeX 2010-10-10 18:23:17 UTC

*** This bug has been marked as a duplicate of bug 183911 ***
Comment 2 Thomas Lübking 2010-10-10 21:16:07 UTC
*** Bug 189410 has been marked as a duplicate of this bug. ***