Bug 228714 - Strange choice of window focus after closing a window
Summary: Strange choice of window focus after closing a window
Status: RESOLVED DUPLICATE of bug 197264
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-27 09:21 UTC by Neil Skrypuch
Modified: 2010-02-27 09:24 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 Neil Skrypuch 2010-02-27 09:21:06 UTC
Version:            (using KDE 4.4.0)
Compiler:          gcc version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5) 
OS:                Linux
Installed from:    Gentoo Packages

It appears that when closing a window, the focus is switched to the last window that was created, not the last window that had focus.

1. Close all open windows, or switch to an empty virtual desktop.
2. Launch kwrite
3. Launch konsole
4. Change window focus to kwrite
5. Launch another konsole.
6. Close the konsole launched in step 5.
7. Observe that konsole is in focus, not kwrite.

It's worth noting that if you try the above steps with konsole, konsole and konsole (instead of kwrite, konsole and konsole), everything works correctly.
Comment 1 Martin Flöser 2010-02-27 09:24:55 UTC

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