[kwin] [Bug 340871] Applications open in background when opened from system tray

2023-09-06 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=340871

David Edmundson  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |UNMAINTAINED

--- Comment #15 from David Edmundson  ---
This bug was reported against an outdated version of KWin. We have made many
changes since the. 
If the issue persists in newer versions can you reopen the bug report updating
the version number.

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

[kwin] [Bug 340871] Applications open in background when opened from system tray

2022-05-05 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=340871

m...@matthoran.com changed:

   What|Removed |Added

 CC||m...@matthoran.com

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

[kwin] [Bug 340871] Applications open in background when opened from system tray

2020-04-19 Thread Guillaume Castagnino
https://bugs.kde.org/show_bug.cgi?id=340871

Guillaume Castagnino  changed:

   What|Removed |Added

 CC||casta+...@xwing.info

--- Comment #14 from Guillaume Castagnino  ---
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.

[kwin] [Bug 340871] Applications open in background when opened from system tray

2019-04-14 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=340871

--- Comment #13 from Patrick Silva  ---
I also can reproduce with the following kde apps that can be minimized to
systray:
kmail
kget
ktorrent
juk

Open Kmail
Open Kmail settings and check "Enable system tray icon" in "Appearance" section
Apply the setting and close Kmail
open systray settings, click "Entries" section, check "Always shows all
entries"
apply the setting
close all windows
open Dolphin
maximize and minimize Dolphin window
open Kmail and minimize it by clicking its icon in systray
unminimize Dolphin by cliking its entry in the task manager
click Kmail icon in the systray
Result: Kmail entry shows up in the task manager but Kmail window
is not focused. Dolphin is still in foreground.

The same behavior can be reproduced replacing Kmail with any kde app mentioned
above.

kmail 5.10.3
kget 18.12.3
ktorrent 5.1.1
juk 18.12.3
Operating System: Arch Linux 
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.2

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

[kwin] [Bug 340871] Applications open in background when opened from system tray

2019-04-14 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=340871

Patrick Silva  changed:

   What|Removed |Added

 CC||bugsefor...@gmx.com

--- Comment #12 from Patrick Silva  ---
I can confirm with keepassx 0.4.4 Qt4 on Arch Linux.
Set focus stealing prevention to "None" solves the problem.

Operating System: Arch Linux 
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.2

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

[kwin] [Bug 340871] Applications open in background when opened from system tray

2018-11-12 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=340871

conta...@protonmail.com changed:

   What|Removed |Added

 CC||conta...@protonmail.com

--- Comment #11 from conta...@protonmail.com ---
Same issue. 

Kmail icon in system tray only takes one click to open the program,

Keepassxc, Qownnotes and nextcloud-client require 3 clicks.

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