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

Guillaume Castagnino <casta+...@xwing.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |casta+...@xwing.info

--- Comment #14 from Guillaume Castagnino <casta+...@xwing.info> ---
I can confirm this behaviour with applications opening from systray

Some examples all Qt applications:
- nextcloud
- keepassxc
- strawberry
- tel.red sky (well, this one is proprietary and damn buggy, so we may ignore
it)

Set focus stealing prevention to Low.
Behaviour may change depending on the application, since click on systray icon
leads to different behaviour

Example 1, with strawberry:
- For example open firefox and dolphin. Give the focus to dolphin
- the first time I click the strawberry systray icon, the application is
opened, but it stay below dolphin, but above firefox. Does not get the focus.
- second click on the icon, the window comes on top and get the focus
- third click, the window is closed, focus is back on dolphin
- fourth click, this time, strawberry opens directly on top, with focus
(correct behaviour)
- fifth click, it closes
- sixth click is the same as the fourth, etc… But if I click again inside
dolphin, I’m back to the initial behaviour

Example 2 with sky:
- For example open firefox and dolphin. Give the focus to dolphin
- the first time I click the tel.red sky systray icon, the application is
opened, but it stay below dolphin, but above firefox. Does not get the focus
- second click close the window
- third click open again, but this time on top and with focus (correct
behaviour)
- same as for strawberry, the behaviour is OK until I click on dolphin, in such
case I’m back to the begining

With nextcloud on keepassxc, It seems more random, or at least I did not get
the clue. Sometime it behaves correctly, and sometime it opens without focus
just behind the topmost window.


If I disable the focus stealing prevention, all four apps behave correctly. But
this is not a very good workaround as in such case, some popups get the focus
when it’s not desirable.


Currently using plasma/kwin 5.18.4.1 under Gentoo, but this was the same with
5.17 or below.

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

Reply via email to