You are not logged in.

#1 2019-04-03 15:30:31

eblau
Member
Registered: 2016-02-11
Posts: 43

[SOLVED] Mouse scroll wheel stops working in some applications

Over the past 3-4 weeks, I've noticed my mouse scroll wheel stops working in a few applications at different times. When it is not working in one application, it continues working properly in all others. I notice it most often in Slack and Chromium.

With Slack, I have to restart the program to get the mouse wheel to respond again. With Chromium, refreshing the current tab fixes the issue. Other Chromium tabs continue to work with the scroll wheel.

When the scroll wheel is not working in these programs, I can run "libinput debug-events" and I see the scroll wheel events:

 event21  POINTER_AXIS      +1.50s	vert 15.00/1* horiz 0.00/0 (wheel)
 event21  POINTER_AXIS      +1.53s	vert 15.00/1* horiz 0.00/0 (wheel)
 event21  POINTER_AXIS      +1.57s	vert 15.00/1* horiz 0.00/0 (wheel)
 event21  POINTER_AXIS      +1.60s	vert 15.00/1* horiz 0.00/0 (wheel)
 event21  POINTER_AXIS      +1.65s	vert 15.00/1* horiz 0.00/0 (wheel)
 event21  POINTER_AXIS      +1.70s	vert 15.00/1* horiz 0.00/0 (wheel)

Something seems to be happening to these applications that is causing them to start missing these events until the affected processes are restarted. Has anyone else seen this? Is there anything I can do to track this down?

Here is the "libinput list-devices" output for the mouse:

Device:           MOSART Semi. 2.4G Wireless Mouse
Kernel:           /dev/input/event21
Group:            8
Seat:             seat0, default
Capabilities:     pointer 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      disabled
Nat.scrolling:    disabled
Middle emulation: disabled
Calibration:      n/a
Scroll methods:   button
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   flat *adaptive
Rotation:         n/a

Thanks in advance for any help!

Last edited by eblau (2019-04-03 21:55:58)

Offline

#2 2019-04-03 15:41:23

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,740

Re: [SOLVED] Mouse scroll wheel stops working in some applications

Potentially related though maybe not as this shouldn't be a mouse where this applies to. However checking whether this is kernel related should be a good first thing to do.

Offline

#3 2019-04-03 19:20:26

eblau
Member
Registered: 2016-02-11
Posts: 43

Re: [SOLVED] Mouse scroll wheel stops working in some applications

Thanks for the suggestion, V1del. I tried rebooting back to an older 4.19.5 kernel that I already had installed from bisecting a USB kernel issue I reported upstream. Unfortunately, mouse scroll stopped working almost immediately in Slack after starting it on 4.19.5. I think something else must be going on here. Any other ideas where to look?

Offline

#4 2019-04-03 21:22:12

seth
Member
Registered: 2012-09-03
Posts: 51,264

Re: [SOLVED] Mouse scroll wheel stops working in some applications

https://slack.com/intl/de-de/downloads/linux ?
Looks like it's electron based (ie. chromium)?

Is that a pattern or do you also experience it in sth. that's clearly not chromium based?

Online

#5 2019-04-03 21:54:52

eblau
Member
Registered: 2016-02-11
Posts: 43

Re: [SOLVED] Mouse scroll wheel stops working in some applications

Yes, Slack is definitely electron-based. When I started Slack in the foreground with debug logging enabled, it prints electron-related logs:

(electron) 'app.makeSingleInstance(cb)' is deprecated. Use 'app.requestSingleInstanceLock() and app.on('second-instance', cb)' instead.
Spying on Observable.prototype.subscribe.
Creating Slack Application

I have not observed this pattern in anything not Chromium-based. I did not make the connection between Slack and Chromium that you did. Thanks for that! I'll look into reporting a Chromium bug if there is not one reported already.

Offline

Board footer

Powered by FluxBB