You are not logged in.

#1 2020-12-28 19:34:41

giostark
Member
Registered: 2016-12-03
Posts: 42

Smooth scroll in plasma desktop apps (okular - dolphin - ecc)

Hi all ,
I facing to understand why my desktop (Plasma KDE) can't use the smooth scrolling feature that was implemented from the 4.1 kernel (REL_WHEEL_HI_RES):
http://who-t.blogspot.com/2018/12/high- … ng-on.html
I'm using a Logitech G903 (not wired) on a desktop PC that support the smooth scrolling with free rotation of the wheel.
In Firefox I was able to use this function  (via about:config or add-ons) but for all the rest of the desktop apps it stutter by lines as for ( I suppose ) design.
In Dolphin if I grab the side scroll bar with the cursor I can see the smooth moving , but with the wheel occur jump line by line.
This is my Xorg setting:

 
Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputClass"
    Identifier "evdev-mouse"
    MatchIsPointer "yes"
    Driver "evdev"
EndSection

I'm not using Wayland and libinput report this:

[server@server ~]$ sudo libinput list-devices

Device:           Logitech G903 LS
Kernel:           /dev/input/event17
Group:            5
Seat:             seat0, default
Capabilities:     keyboard 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

I can see  in system-settings the advanced tab and to reduce to 1 line the scroll is not useful.
In Okular is enabled the smooth scroll but it didn't affect the document. If I enabled the function or not  it don't make a change.
Also I tried to disable kvantum or the second monitor (different refresh) or hard set in the config rc a datum refresh rate  , nothing help. It seems that the behavior of the wheel is bypassed by something.
Piper don't provide wheel settings.

Should I use an other driver instead of "mouse"? Any suggestions?

Offline

#2 2020-12-29 01:48:58

giostark
Member
Registered: 2016-12-03
Posts: 42

Re: Smooth scroll in plasma desktop apps (okular - dolphin - ecc)

Ok, digging more deep basically the G903 have not hight resolution wheel. The free wheel just avoid the clicks but don't result in a more accurate reading. 
https://www.reddit.com/r/linux/comments … h/e5573u0/
The only device supported right now appear to be those:
    Mouse Logitech Anywhere MX

    Mouse Logitech Cube

    Mouse Logitech M335

    Mouse Logitech M515

    Mouse logitech M560

    Mouse Logitech M705

    Mouse Logitech M720

    Mouse Logitech MX Anywhere 2

    Mouse Logitech MX Anywhere 2S

    Mouse Logitech MX Master

    Mouse Logitech MX Master 2S

    Mouse Logitech Performance MX

https://lkml.org/lkml/2018/8/30/1086

Offline

#3 2020-12-29 03:10:52

giostark
Member
Registered: 2016-12-03
Posts: 42

Re: Smooth scroll in plasma desktop apps (okular - dolphin - ecc)

Basically the MX series is for production. The max pulling rate is 1/10 of any gaming (decent) mouse. So is less responsive but provide good solution for some software usage.
There is not a gaming mouse with such wheel as the MX Master 3. Sometime the clicky solution is the chose , sometime is not. Finally , is worthy to think well at the compromise good for our usage.

Last edited by giostark (2020-12-29 06:31:57)

Offline

Board footer

Powered by FluxBB