https://bugs.kde.org/show_bug.cgi?id=363892

Martin Gräßlin <mgraess...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |UPSTREAM

--- Comment #4 from Martin Gräßlin <mgraess...@kde.org> ---
Latest investigation in the upstream bug report show that this is a bug in Qt.
When switching from a sub window to the parent window Qt asks the window
manager to activate the window. As the window is already active, KWin ignores
the request (see netinfo.cpp method RootInfo::changeActiveWindow branch for
else if (c == workspace->mostRecentlyActivatedClient())).

Given that the window manager is allowed to not do anything on the request,
KWin's behavior is at least not wrong. I think it would be wrong to do the
activation again for an active window. And Qt needs to manage input focus of
it's embedded windows itself. This is not the task of a window manager.

That it works with other window managers is pure chance: they just don't have a
check to not activate already activated windows again.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to