Summary: | Background window incorrectly gains focus on desktop change | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Thomas McGuire <mcguire> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | oded |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Thomas McGuire
2005-05-17 13:18:21 UTC
SVN commit 415713 by lunakl: Since now it's possible to disable receiving focus for windows in window-specific settings, no longer make skiptaskbar also imply some kind of skiping focus. BUG: 105809 M +1 -2 trunk/KDE/kdebase/kwin/client.cpp --- trunk/KDE/kdebase/kwin/client.cpp #415712:415713 @@ -1588,8 +1588,7 @@ bool Client::wantsTabFocus() const { - return ( isNormalWindow() || isDialog()) - && wantsInput() && !skip_taskbar; + return ( isNormalWindow() || isDialog()) && wantsInput(); } Is this fixed on 3.4.1 ? as I see a similar (or same) behavior on my KDE 3.4.1 installed from Mandrake cooker RPMS. It seems that "accept focus" in "window-specific settings" (is this 'wantsInput()' above ?) does not affect anything for "skip taskbar" windows. Which means that the above behavior happens for any window that is "skip taskbar" regardless of the setting for "accept focus". SVN commit 423662 by lunakl: Backport #105809. CCBUG: 105809 M +1 -2 client.cpp --- branches/KDE/3.4/kdebase/kwin/client.cpp #423661:423662 @@ -1569,8 +1569,7 @@ bool Client::wantsTabFocus() const { - return ( isNormalWindow() || isDialog() || isOverride()) - && wantsInput() && !skip_taskbar; + return ( isNormalWindow() || isDialog() || isOverride()) && wantsInput(); } Thx :-) SVN commit 444278 by lunakl: Revert r415713, at least for the time being, it causes more trouble than it solves. I need to find a better way of fixing this. CCBUG:105809 M +1 -1 client.cpp --- branches/KDE/3.5/kdebase/kwin/client.cpp #444277:444278 @@ -1611,7 +1611,7 @@ bool Client::wantsTabFocus() const { - return ( isNormalWindow() || isDialog()) && wantsInput(); + return ( isNormalWindow() || isDialog()) && wantsInput() && !skip_taskbar; } I need to find a different way of solving this. KDE3.4.x will keep its old behaviour. Then why change the status to UNCONFIRMED ? I'm sure we all agree that this is a valid issue which should be solved ? How about CONFIRMED instead ? *** This bug has been marked as a duplicate of 106818 *** Why was this bug closed as duplicate ? First, this ticket already records some work committed towards solving the problem, unlike Bug 106818, so if any ticket should be closed as duplicate it should have been 106818. Secondly, I don't believe these two bugs are duplicate of each other - Bug 106818 talks of being able to switch to "skip taskbar" windows with the keyboard - which not being able to is admittedly a problem, but it is classified as a wish. While this ticket talks about the current workspace not correctly remembering the focus of a "skip taskbar" window. I can see how the two issues may share the same implementation details, but unless we're sure this is the case - and IMHO this can be assured only by fixing both problems with the same patch - we shouldn't synthetically close one ticket as duplicate of another. It is the same, just with different visible results, and the other bugreport has better description of the actual problem (skiptaskbar windows sometimes not getting focus). |