[kwin] [Bug 340225] registerShortcut is undefined in declarativescript
https://bugs.kde.org/show_bug.cgi?id=340225 matejcikchanged: What|Removed |Added CC||ja+...@matejcik.cz -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 361940] In focus follows mouse mode, the window under the pointer sometimes does not have focus
https://bugs.kde.org/show_bug.cgi?id=361940 --- Comment #20 from matejcik--- (In reply to Thomas Lübking from comment #19) > > FocusStealingPreventionLevel=2 > The focus moves despite the medium FSP? Or does this cause a flashing taks > item? both, it doesn't seem to be deterministic setting to High or Extreme prevents the focus loss and only causes flashing taskbar. on Low and Medium, either can happen. > > DelayFocusInterval=0 > Wild guess, what if you raise this to, say, 100ms? yes, this seems to help, i'm not able to reproduce the problem anymore. (not deliberately anyway. i'll see if it crops up again while i'm working, but it seems to be a workable solution) for the record, xfwm4 has the focus delay feature too, and even on the lowest setting the problem doesn't appear. but i don't know whether it's actually zero or some small nonzero number -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 361940] In focus follows mouse mode, the window under the pointer sometimes does not have focus
https://bugs.kde.org/show_bug.cgi?id=361940 --- Comment #18 from matejcik--- I tried xfwm4 as a window manager inside KDE and could not reproduce the issue. I didn't manage to run mutter this way, but i don't see this issue on my GNOME3 desktop. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 361940] In focus follows mouse mode, the window under the pointer sometimes does not have focus
https://bugs.kde.org/show_bug.cgi?id=361940 --- Comment #17 from matejcik--- Created attachment 99034 --> https://bugs.kde.org/attachment.cgi?id=99034=edit kwinrc of config -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 361940] In focus follows mouse mode, the window under the pointer sometimes does not have focus
https://bugs.kde.org/show_bug.cgi?id=361940 --- Comment #15 from matejcik--- (In reply to Thomas Lübking from comment #14) > It means gvim tried to obtain the focus, but this was denied by the focus > stealing prevention (though you claim it's deactivated) I was able to reproduce the original bug (wrong focus switching) with FSP off. I can't reproduce the "highlight on taskbar" with FSP off. (i have multiple computers with KDE, with slightly different settings, that's why i got this FSP thing now) I do sometimes see the focus "flicker", the gtk window is defocused for a moment and then gets its focus back. Which would confirm what you said: the gtk windows try to regain focus after losing it. (and sometimes they succeed, other times FSP stops them) > If you create special "kcmshell5 kwinrules" for FF/TB/GVim and set the focus > stealing prevention to "extreme", can you still reproduce this? I switched the whole system to "extreme" and can no longer reproduce the problem. (i do see the taskbar highlights). Unfortunately, this is not a good workaround for me because it means that new gvim windows launched from terminal don't go to foreground. So what now? It seems clear that gtk windows try to take back focus when they lose it. But other window managers don't seem to trigger this behavior. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 361940] In focus follows mouse mode, the window under the pointer sometimes does not have focus
https://bugs.kde.org/show_bug.cgi?id=361940 --- Comment #13 from matejcik--- further hint: for instance, when i'm switching between konsole -> gvim -> konsole Often the focus will move back to konsole properly, but the gvim window will be highlighted in taskbar -- the same way new windows are, or windows that try to notify you of something. This is not limited to gvim, firefox and thunderbird do it too. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 361940] In focus follows mouse mode, the window under the pointer sometimes does not have focus
https://bugs.kde.org/show_bug.cgi?id=361940 --- Comment #11 from matejcik--- Created attachment 98476 --> https://bugs.kde.org/attachment.cgi?id=98476=edit xev record for firefox and thunderbird Managed to reproduce between firefox and thunderbird (both gtk2) and catch it in a xev record. Not sure if that is of any help. At start, i'm trying to rapidly switch between the two, and at the end, I managed to get the pointer over firefox, while focus is retained on thunderbird. I mashed some keys as well. You can see that the window with mouse pointer (firefox) gets motion events, but not keyboard events. The focused window (thunderbird) does not get keyboard events, but instead gets PropertyNotify. at least it shows that konsole is not the important part. -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 361940] In focus follows mouse mode, the window under the pointer sometimes does not have focus
https://bugs.kde.org/show_bug.cgi?id=361940 --- Comment #10 from matejcik--- pretty sure my gvim is gtk3 (also gvim does in fact do funky stuff with mouse pointer, i've seen at least two bugs related to that over the years, so that could be it) i'll try to reproduce it with kwrite instead of konsole ... i'm not sure if i can manage it over three different windows, but i'll try :) also not sure about xev, how would i capture events for two windows at once? and if i ran two xevs simultaneously, it would be hard to correlate the events, no? -- You are receiving this mail because: You are watching all bug changes.
[kwin] [Bug 361940] In focus follows mouse mode, the window under the pointer sometimes does not have focus
https://bugs.kde.org/show_bug.cgi?id=361940 --- Comment #7 from matejcik--- Created attachment 98461 --> https://bugs.kde.org/attachment.cgi?id=98461=edit xprop and xwininfo for konsole and gvim -- You are receiving this mail because: You are watching all bug changes.