Bug 1206549

Summary: Incorrect working mouse scroll wheel in gtk apps
Product: [Fedora] Fedora Reporter: Martin Kho <rh-bugzilla>
Component: kwinAssignee: Daniel Vrátil <dvratil>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: dvratil, jeischma, jgrulich, kevin, ltinkl, rdieter, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-17 18:56:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Kho 2015-03-27 12:03:35 UTC
Description of problem:
Scroll wheel 'stops working' in the gtk application when I switch from a gtk application (e.g. Firefox, Firewall config) to a kde application. I can get it working again by clicking on the desktop (remove focus from the gtk app) and refocus on the gtk application. Rather complex isn't it :-) The steps to reproduce - below - will make things clear. Btw. I'm not sure if I've chosen the right component.

Note 1. It's not a libinput issue (I've removed it).
Note 2. It happens in Fedora 22 (VM and bare metal), not in Fedora 21

Version-Release number of selected component (if applicable):
kwin-5.2.2-1.fc22.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Open Firewall Configuration (Application -> System -> Firewall
2. Check that you can scroll in the Services list
3. Open a plasma/kde application e.g. systemsettings
4. Close systemsettings
5. Try to scroll in the Firewall's Services list (no? -> next step; Yes -> I've a problem ;-( )
6. Click somewhere on the desktop ( remove focus from Firewall app )
7. Click on the Firewall app (title bar).
8. Scroll in the Services list (scrolling works (?) again)

Actual results:
Scrolling stops working in gtk applications

Expected results:
Scrolling keeps working in gtk applications

Additional info:
Upsteam there is a bug report [1] that may be can related: "Mouse input problem after starting plasma 5"

[1] https://bugs.kde.org/show_bug.cgi?id=343845

Comment 1 Rex Dieter 2015-03-27 13:08:58 UTC
I see odd 'apps lose input/focus' sometimes too, a quick ALT-TAB usually fixes it.  I've not yet been annoyed yet to dig deeper. :-/

I'll try to take note if it's just gtk apps losing input next time it happens.

Comment 2 Martin Kho 2015-04-17 18:22:19 UTC
Hi,

May be this issue was also caused by the bad tar source. I can't reproduce it anymore. There is, however, a difference between scrolling in kde and gtk applications. If a kde application is inactive scrolling works, in gtk applications it doesn't. The gtk application has to be active.

Martin Kho

Comment 3 Rex Dieter 2015-04-17 18:56:03 UTC
OK, let's chaulk that up to toolkit idiosyncracies.