In System Settings -> Window Behavior -> Window Actions I have set Meta + Mouse Wheel to Raise/Lower windows. When I do this on a Konsole window, not only does the window raise/lower but Konsole also acts as if I'd used the wheel in the window without holding down Meta. This is maddening, because it either causes the terminal to scroll up/down or, if there's no buffered terminal output, sends an up-arrow or down-arrow to the terminal. It completely throws off my workflow. Reproducible: Always Steps to Reproduce: 1. Configure overall Window Behavior to Raise/Lower windows using Meta+Wheel. 2. Use Meta+Wheel to raise a Konsole window. Actual Results: Window raises, but Konsole also processes a mouse wheel event. Expected Results: Window raises, but Konsole should not process a mouse wheel event. Kubuntu 16.04. I also use "Focus Follows Mouse - Mouse Precedence". This means that I *never* try to use Meta+Wheel to raise/lower an *inactive* window. The Konsole window is always active when I raise/lower it with Meta+Wheel. KDE Frameworks 5.18.0 Qt 5.5.1 (built against 5.5.1) The xcb windowing system
BTW, this doesn't happen with other applications, like Firefox or Thunderbird. I've only seen this with Konsole.
Moving this to plasmashell (hope that's right), as I'm also seeing this with other KDE apps like Akregator and the System Settings.
I assume that you see this with all Qt 5 applications? E.g. also kwrite/kate? My idea is that this is related to Qt 5 using Xinput 2 for scrolling, thus KWin does not intercept the events properly anymore.
Yes, it also happens in kate. The problem does seem to be limited to Qt5 apps, though I haven't tried them ALL :) .
(In reply to Martin Flöser from comment #3) > I assume that you see this with all Qt 5 applications? E.g. also kwrite/kate? > > My idea is that this is related to Qt 5 using Xinput 2 for scrolling, thus > KWin does not intercept the events properly anymore. I can confirm that this bug is caused by Qt5 using XInput2. Disabling xinput2 support in Qt fixes it. (Also on wayland everything works fine.)
I'm now also seeing this with Chrome in Kubuntu 19.04. Operating System: Kubuntu 19.04 KDE Plasma Version: 5.16.3 KDE Frameworks Version: 5.59.0 Qt Version: 5.12.2 Kernel Version: 5.0.0-20-generic OS Type: 64-bit Processors: 8 × Intel® Core™ i7-3770K CPU @ 3.50GHz Memory: 31.4 GiB of RAM
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.
I am still seeing this with Plasma 5.24.7.
(In reply to Marc Branchaud from comment #8) > I am still seeing this with Plasma 5.24.7. More specifically, on an up-to-date Kubuntu 22.04 system: Operating System: Kubuntu 22.04 KDE Plasma Version: 5.24.7 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.3 Kernel Version: 5.19.0-32-generic (64-bit) Graphics Platform: X11 Processors: 20 × 12th Gen Intel® Core™ i7-12700H Memory: 62.5 GiB of RAM Graphics Processor: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2