LithApp / Lith

Multiplatform, mobile-focused WeeChat relay client
https://lith.app
GNU General Public License v2.0
75 stars 7 forks source link

Make smooth scroll optional #112

Closed bqv closed 2 years ago

bqv commented 2 years ago

It's painfully slow and unreadable for a very long buffer list

MartinBriza commented 2 years ago

I don't think there's a reasonable way to turn it off but the performance can be improved. How long is your buffer list? What do you mean by "unreadable"? What platform and hardware is this happening on please?

bqv commented 2 years ago

Linux, amd64 i7 max specs. The scrolling is painfully slow and hard to control, partly because during "scrolling" nothing is readable (can't read moving text). My buffer list is currently 108 long

MartinBriza commented 2 years ago

I regularly have around 50 buffers open on much weaker hardware and on Linux, too, so I don't see any reason for your performance to be worse. Is it possible you're not using correct graphics drivers? Maybe an issue with your Qt platform plugin?

As for reading scrolling text, I don't think removing motion from the items in the list will help with their comprehension. I suggest instead using the filter function that's built into the buffer list. It should also be controllable exclusively with keyboard.

bqv commented 2 years ago

I use wayland. Could you please at least make scrolling speed configurable then, if you want to continue using it as is?

MartinBriza commented 2 years ago

This is very likely a problem of setup, either on your box, or in your distro, it makes no sense for me to to hack around these issues, sorry. To fix this, either check your configuration (e.g. doublecheck if you're not missing any relevant Qt platform or platform theme plugins) or get in touch with your Linux distribution package maintainers. Another option is the qt6ct package (hopefully shipped with your distro) that allows for fine-grained configuration of Qt applications that use it. To sum it up, this is not caused and fixable by Lith, so I'll close this issue. However I'll try to help you with this so if you want to, continue posting into this thread or come get in touch on #lith on libera.chat.

bqv commented 2 years ago

My distro doesn't even package qt6, i'm using flatpak... It's fine, it's not worth my fighting with

MartinBriza commented 2 years ago

I'm sorry. However, what distro and compositor are you using? Also what input device and driver (touchpad, trackpoint, mouse; libinput, synaptics,...) I will maybe check this out at some point.

bqv commented 2 years ago

I'm on gentoo (rolling release, up to date), using sway. Inputs are all libinput (keyboard, mouse, nothing special). I have at least found that scrolling in the opposite direction aborts the scroll, which is better than nothing :)