dhruv8sh / arch-update-checker

Plasma 6 applet to check for AUR and Arch updates
GNU General Public License v2.0
71 stars 5 forks source link

[Bug] Stutters when scrolling through large list #35

Closed Kingproone closed 5 months ago

Kingproone commented 5 months ago

I haven't used my system for a little and it has 200+ updates available at the moment, when scrolling through them the widget stutters (but does not freeze), v 0.8.5.

dhruv8sh commented 5 months ago

The applet uses native components to display these items and is as minimal as can be. In fact, the details about a package is loaded after the click happens. Testing did not show any stuttering for me. Maybe you can record a video?

Kingproone commented 5 months ago

Well, since then I did an upgrade and I don't have that many packages, plus I updated to the latest kde stuff, which might change things, so I guess I can wait on updating a while.

Kingproone commented 5 months ago

This might be a relevant plasma bug, or at least similar in nature, i don't know if the applet uses the same things under the hood, and whether it gets overloaded too. I will be sure to upload a video as soon as there are more updates available for me. https://bugs.kde.org/show_bug.cgi?id=483205

dhruv8sh commented 5 months ago

Hmm... I see! I can add a flag under the debug configuration group to disable highlights.

Kingproone commented 5 months ago

What would that turn off?

dhruv8sh commented 5 months ago

The highlight when you hover over a list item. This is the only operation I can think of that would affect performance like that.

dhruv8sh commented 5 months ago

https://imgur.com/a/5gSFqyP There is no stutters for me when there are 218 packages to update. This issue might be on your personal system. This issue will now be closed. Ask to reopen if this issue is consistent.

Kingproone commented 5 months ago

So this wasn't happening to me when scrolling with the wheel, rather when grabbing the scroll bar and dragging it (though I could see it happen if using a mouse which has a wheel that can spin freely, therefore going so fast as dragging the bar). Above a certain speed it starts stuttering. Clicking into the scrollbar, pretty much anywhere only takes at most ~half a second to load even at 500 updates available.

Kingproone commented 4 months ago

I found, that in plasmas emoji picker app, a similar behaviour appears, when dragging fast, or even clicking far away, it needs tim to load in, so this might be a plasma performance issue in the end.

dhruv8sh commented 4 months ago

Weirdly this does not happen for me in either case. Try running Plasma on your discrete graphics card. See if the issue persists.