diamondburned / dissent

Tiny native Discord app
https://flathub.org/apps/details/so.libdb.dissent
GNU General Public License v3.0
1.27k stars 40 forks source link

Scrolling is laggy when mouse is hovering over messages, smooth when hovering over blank area #254

Open carterprince opened 6 months ago

carterprince commented 6 months ago

Title -- this also happens for the channel list. Is there an easy fix for this?

diamondburned commented 6 months ago

Interesting. Are you scrolling using a touchpad? Do you know if your application is rendering via Cairo (software) or OpenGL (hardware)? You should be able to check that via Ctrl + Shift + I, in the Global menu.

carterprince commented 6 months ago

Yes, I am scrolling with a touchpad.

It mainly happens in fullscreen when in a channel with a lot of embeds/images.

Here's a screenshot of the first section under "Global":

image

carterprince commented 6 months ago

Here's a video of this effect:

https://github.com/diamondburned/dissent/assets/11081492/04e79059-012d-42d8-9c61-8de5e0603496

This kind of effect also occurs in GNOME Files? So maybe it's an upstream issue. Or maybe my computer is just slow.

Atemo-C commented 6 months ago

This kind of effect also occurs in GNOME Files? So maybe it's an upstream issue. Or maybe my computer is just slow.

Hm, that is interesting. I do not know if it is an upstream issue, but in any case, scrolling like this with mouse hovering should not lag like this, even on relatively under-powered hardware. If I can get my hands on a slower device than the one I currently use, I will try it, but no guarantees.

diamondburned commented 6 months ago

If I have to guess, it's the hover background transition. I'll see if I can experiment with it.

algj commented 3 weeks ago

Yeah, the lag was unbearable for me on a low end system...

diamondburned commented 3 weeks ago

Yeah, the lag was unbearable for me on a low end system...

Does turning on the Reduce Animation accessibility option help with this? image

algj commented 2 weeks ago

I updated my Arch system and the performance problems went away! That's weird. Cannot reproduce anymore.

LordRusk commented 2 weeks ago

Yeah, the lag was unbearable for me on a low end system...

Does turning on the Reduce Animation accessibility option help with this? image

excuse the dumb question...what program is that? i cannot find those settings in dissent...