Bug 390324

Summary: Scrolling on unfocused window zooms window contents
Product: [Plasma] kwin Reporter: Nikolaos Kakouros <tterranigma>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal Flags: mgraesslin: Wayland+
Priority: NOR    
Version: 5.12.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nikolaos Kakouros 2018-02-12 15:37:46 UTC
Steps to reproduce:
- Open eg a konsole window
- Open another window eg dolphin
- Stack the windows side by side for ease
- Use Alt-Tab switcher to focus the dolphin window
- Now, use the scroll button on your mouse to scroll on the konsole window

Expected result:
- Konsole output should be scrolled up and down

What happens:
- Konsole is zoomed in and out

Happens every time.

If you use the mouse to click and select the active window instead of Alt-Tab, then this does not occur.
Comment 1 Martin Flöser 2018-02-12 15:59:13 UTC
Does that only happen with Konsole or also other windows? Is the zoom only in the application or is it a global desktop zoom?
Comment 2 Nikolaos Kakouros 2018-02-12 17:53:48 UTC
(In reply to Martin Flöser from comment #1)
> Does that only happen with Konsole or also other windows? Is the zoom only
> in the application or is it a global desktop zoom?

This happens with any qt application as the unfocused app. The focused app can be any app. 

The zoom is in the application, like holding Ctrl and using the mouse wheel.
Comment 3 Martin Flöser 2018-02-12 20:24:56 UTC
Thanks. That means the bug is in Qt. It doesn't handle the modifier state correctly.