th-ch / youtube-music

YouTube Music Desktop App bundled with custom plugins (and built-in ad blocker / downloader)
https://th-ch.github.io/youtube-music/
MIT License
6.98k stars 424 forks source link

[Bug]: UI lags tremendously when forcing a UI-Refresh by doing anything (Former Title: Discord Plugin lags out UI of the newest Release version) #2155

Open Shadowphoenix opened 2 weeks ago

Shadowphoenix commented 2 weeks ago

Preflight Checklist

YouTube Music (Application) Version

3.3.12.0

Checklists

What operating system are you using?

Windows

Operating System Version

Win 10 22H2

What CPU architecture are you using?

x64

Last Known Working YouTube Music (Application) version

3.3.9 i think? havent used it in a while

Reproduction steps

Enabled Discord with settings shown in picture. Nothing else is activated. Then force UI-Update by opening a new Playlist etc or resize the window. image

Expected Behavior

UI not lagging when i have the Discord-RichPresence-Plugin activated.

Actual Behavior

Whenever i have the plugin activated, the UI regularly fails to update for a second or two, for example when resizing the window. I havent experienced this behavior without the Plugin - but that doesnt mean the plugin is the issue, maybe it does happen but i just havent encountered it yet.

Enabled plugins

Discord (nothing else)

Additional Information

I tried disabling and re-enabling hardwareacceleration, similar to how i could circuumvent the semirecent issue with the adblocker lagging out the UI. But that didnt work this time. My Internetconnection isnt the best (16 mbit/s), but i doubt that is the cause - else i would probably also experience the stuttering UI the plugin is disabled.

Pableske commented 2 weeks ago

I have the same problem

Shadowphoenix commented 2 weeks ago

Turns out this also happens occasionally without any Plugin active at all.

Specifically i encountered the UI to not update when i move my mouse across several titles in a playlist: the Dislikebuttons are slow to update/appear and its a similar issue with most other UI-Elements. A Clip of this issue manifesting can be found here:

https://youtu.be/RPqf3HwnSKM

sandarutharuneth commented 2 weeks ago

Mine doesn't show anything after enabling. No status on discord

SteveFour commented 6 days ago

Mine lags as well. Especially when open song list from an artist.