[kwin] [Bug 421068] Kwin sends out undated WM_TAKE_FOCUS messages that goad firefox into stealing focus

2022-05-19 Thread Dmitry Batrak
https://bugs.kde.org/show_bug.cgi?id=421068 Dmitry Batrak changed: What|Removed |Added CC||dmitry.bat...@jetbrains.com --- Comment #11 fro

[kwin] [Bug 421068] Kwin sends out undated WM_TAKE_FOCUS messages that goad firefox into stealing focus

2020-06-10 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=421068 David Edmundson changed: What|Removed |Added Resolution|--- |FIXED Latest Commit|

[kwin] [Bug 421068] Kwin sends out undated WM_TAKE_FOCUS messages that goad firefox into stealing focus

2020-05-22 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=421068 Nate Graham changed: What|Removed |Added CC||n...@kde.org -- You are receiving this mail beca

[kwin] [Bug 421068] Kwin sends out undated WM_TAKE_FOCUS messages that goad firefox into stealing focus

2020-05-22 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=421068 David Edmundson changed: What|Removed |Added Status|CONFIRMED |ASSIGNED --- Comment #9 from David Edmundson

[kwin] [Bug 421068] Kwin sends out undated WM_TAKE_FOCUS messages that goad firefox into stealing focus

2020-05-22 Thread Alain Knaff
https://bugs.kde.org/show_bug.cgi?id=421068 --- Comment #8 from Alain Knaff --- Created attachment 128685 --> https://bugs.kde.org/attachment.cgi?id=128685&action=edit Pass valid time to sendClientMessage Just attaching the patch here, easier than getting kdesrc-build going... -- You are rec

[kwin] [Bug 421068] Kwin sends out undated WM_TAKE_FOCUS messages that goad firefox into stealing focus

2020-05-22 Thread Alain Knaff
https://bugs.kde.org/show_bug.cgi?id=421068 --- Comment #7 from Alain Knaff --- (In reply to David Edmundson from comment #6) > I assume the patch is basically just passing xTime() as the last argument of > sendClientMessage in Client::takeFocus() > > ? Yes indeed. And calling updateXTime(); ju

[kwin] [Bug 421068] Kwin sends out undated WM_TAKE_FOCUS messages that goad firefox into stealing focus

2020-05-22 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=421068 --- Comment #6 from David Edmundson --- I assume the patch is basically just passing xTime() as the last argument of sendClientMessage in Client::takeFocus() ? -- You are receiving this mail because: You are watching all bug changes.

[kwin] [Bug 421068] Kwin sends out undated WM_TAKE_FOCUS messages that goad firefox into stealing focus

2020-05-21 Thread Alain Knaff
https://bugs.kde.org/show_bug.cgi?id=421068 --- Comment #5 from Alain Knaff --- (In reply to David Edmundson from comment #4) > >Any comments on this? > > Firstly, thanks for the research. It's very appreciated. Thanks for your sign of life :-) It's reassuring to see that this doesn't fall on

[kwin] [Bug 421068] Kwin sends out undated WM_TAKE_FOCUS messages that goad firefox into stealing focus

2020-05-21 Thread David Edmundson
https://bugs.kde.org/show_bug.cgi?id=421068 David Edmundson changed: What|Removed |Added CC||k...@davidedmundson.co.uk --- Comment #4 from

[kwin] [Bug 421068] Kwin sends out undated WM_TAKE_FOCUS messages that goad firefox into stealing focus

2020-05-21 Thread Alain Knaff
https://bugs.kde.org/show_bug.cgi?id=421068 --- Comment #3 from Alain Knaff --- Another thing. If there really are still a sizable number of users around who use Java on the desktop, and who depend on the current "take focus at any time" behavior, maybe this could be made configurable on a per-ap

[kwin] [Bug 421068] Kwin sends out undated WM_TAKE_FOCUS messages that goad firefox into stealing focus

2020-05-21 Thread Alain Knaff
https://bugs.kde.org/show_bug.cgi?id=421068 --- Comment #2 from Alain Knaff --- Ok, now I located the commit which (probably) broke this: https://github.com/KDE/kwin/commit/e73e331f35b9da4bbb99c80c5c1eedd2ae99422b So, until 2016, kwin *used* to send a valid timestamp, but this got deliberately

[kwin] [Bug 421068] Kwin sends out undated WM_TAKE_FOCUS messages that goad firefox into stealing focus

2020-05-21 Thread Alain Knaff
https://bugs.kde.org/show_bug.cgi?id=421068 Alain Knaff changed: What|Removed |Added Ever confirmed|0 |1 Status|REPORTED