[Bug]: Can't click on anything after a while #3621

Closed
opened 2025-07-13 21:47:32 +00:00 by Getbricked · 26 comments
Getbricked commented 2025-07-13 21:47:32 +00:00 (Migrated from github.com)

Preflight Checklist

  • I use the latest version of YouTube Music (Application).
  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.
  • I understand that th-ch/youtube-music has NO affiliation with Google or YouTube

YouTube Music (Application) Version

3.10.0.0

Checklists

What operating system are you using?

Windows

Operating System Version

Windows 11

What CPU architecture are you using?

x64

Last Known Working YouTube Music (Application) version

No response

Reproduction steps

I have been using the app for couple months it works perfectly fine until recently (about 1 week)
Not sure what causes this bug but everything I played a list then after a while 30mins+ maybe I went back to find for a new song but I couldn't click on anything (but shortcut to change songs from keyboard did work and the app is not freezing at all the process bar is still going).

Expected Behavior

works normally

Actual Behavior

Can't click on anything on the app (there is no hover effect at all)

Enabled plugins

Downloader
Discord Rich Presence
In-App Menu
Navigation
Performance improvement
Precise volume
Synced Lyrics
Video Quality Changer
Video Toggle

Additional Information

No response

### Preflight Checklist - [x] I use the latest version of YouTube Music (Application). - [x] I have searched the [issue tracker](https://github.com/th-ch/youtube-music/issues) for a bug report that matches the one I want to file, without success. - [x] I understand that **th-ch/youtube-music has NO affiliation with Google or YouTube** ### YouTube Music (Application) Version 3.10.0.0 ### Checklists - [ ] I use the portable version of the YouTube Music Application. - [ ] I can reproduce this issue in the [official version of (WEB) YTM](https://music.youtube.com). ### What operating system are you using? Windows ### Operating System Version Windows 11 ### What CPU architecture are you using? x64 ### Last Known Working YouTube Music (Application) version _No response_ ### Reproduction steps I have been using the app for couple months it works perfectly fine until recently (about 1 week) Not sure what causes this bug but everything I played a list then after a while 30mins+ maybe I went back to find for a new song but I couldn't click on anything (but shortcut to change songs from keyboard did work and the app is not freezing at all the process bar is still going). ### Expected Behavior works normally ### Actual Behavior Can't click on anything on the app (there is no hover effect at all) ### Enabled plugins Downloader Discord Rich Presence In-App Menu Navigation Performance improvement Precise volume Synced Lyrics Video Quality Changer Video Toggle ### Additional Information _No response_
VRXDev2 commented 2025-07-13 22:11:23 +00:00 (Migrated from github.com)

Same issue for me, no plugins

Same issue for me, no plugins
PenguSit commented 2025-07-14 01:59:18 +00:00 (Migrated from github.com)

Same issue for me although it's on startup, not after a long period of time, can't use it anymore.

Same issue for me although it's on startup, not after a long period of time, can't use it anymore.
xZabeR commented 2025-07-14 16:26:44 +00:00 (Migrated from github.com)

Same issue after the update, for some reason I can't click on anything, but lyrics are still moving.

Image

Top Nav bar is still clickable

Plugins:

  • In-App Menu
  • Navigation
  • Performance improvement
  • Taskbar Media Control
  • Unobtrusive
Same issue after the update, for some reason I can't click on anything, but lyrics are still moving. <img width="344" height="33" alt="Image" src="https://github.com/user-attachments/assets/c744d876-b08e-4088-8633-6643627d8197" /> Top Nav bar is still clickable Plugins: - In-App Menu - Navigation - Performance improvement - Taskbar Media Control - Unobtrusive
CY83R-3X71NC710N commented 2025-07-15 21:34:39 +00:00 (Migrated from github.com)

Can confirm I am also receiving this issue on latest macOS

Can confirm I am also receiving this issue on latest macOS
WillPresley commented 2025-07-15 21:47:10 +00:00 (Migrated from github.com)

I was having this issue on the latest version, but I disabled the 'Performance Improvements (experimental)' option under Plugins and it seems to have solved it for now.

I was having this issue on the latest version, but I **disabled** the 'Performance Improvements (experimental)' option under Plugins and it seems to have solved it for now.
nobodyll commented 2025-07-16 07:42:02 +00:00 (Migrated from github.com)

I also have this issue with Manjaro Linux.

I also have this issue with Manjaro Linux.
Getbricked commented 2025-07-16 13:26:06 +00:00 (Migrated from github.com)

I was having this issue on the latest version, but I disabled the 'Performance Improvements (experimental)' option under Plugins and it seems to have solved it for now.

kind na weird but I still keep that plugins and it's gone the past few days
maybe just a random issue

> I was having this issue on the latest version, but I **disabled** the 'Performance Improvements (experimental)' option under Plugins and it seems to have solved it for now. kind na weird but I still keep that plugins and it's gone the past few days maybe just a random issue
NDKcute commented 2025-07-17 04:00:57 +00:00 (Migrated from github.com)

Same with me, looks like this error is only after updating this version :/

Same with me, looks like this error is only after updating this version :/
Getbricked commented 2025-07-17 05:24:39 +00:00 (Migrated from github.com)

Same with me, looks like this error is only after updating this version :/

I got this problem on 3.0.9 as well and I saw new version. Updated to 3.0.10 but still same issue. But like what I said it just backed to normal somehow.... Can't reproduce the issue lol.

> Same with me, looks like this error is only after updating this version :/ I got this problem on 3.0.9 as well and I saw new version. Updated to 3.0.10 but still same issue. But like what I said it just backed to normal somehow.... Can't reproduce the issue lol.
a-tokarev commented 2025-07-18 10:13:15 +00:00 (Migrated from github.com)

Same on macOS. After a while the buttons became irresponsive (or, as it also seemed, very very sluggish). The app didn't freeze though, and was correctly playing songs in the playlist.

Same on macOS. After a while the buttons became irresponsive (or, as it also seemed, very very sluggish). The app didn't freeze though, and was correctly playing songs in the playlist.
NaysKutzu commented 2025-07-19 12:45:07 +00:00 (Migrated from github.com)

This, started to happen in the last 2 versions for me to.. are they any fixes?

This, started to happen in the last 2 versions for me to.. are they any fixes?
Saileyy commented 2025-07-21 12:40:32 +00:00 (Migrated from github.com)

yep, same issue, started happening roughly 1/2 versions ago. on latest version issue persists.
Application runs fine for a while then becomes "unresponsive". cant be clicked or interacted with via UI but can be controlled by physical media keys.

yep, same issue, started happening roughly 1/2 versions ago. on latest version issue persists. Application runs fine for a while then becomes "unresponsive". cant be clicked or interacted with via UI but can be controlled by physical media keys.
VRXDev2 commented 2025-07-21 15:39:29 +00:00 (Migrated from github.com)

pressing ESC fixes it, probably an ad popup that turns invisible after adblock removes the ad

pressing ESC fixes it, probably an ad popup that turns invisible after adblock removes the ad
WillPresley commented 2025-07-22 18:08:03 +00:00 (Migrated from github.com)

Very nice workaround @VRXDev2! For what it's worth, I have Premium and don't have the Adblock plugin enabled, but I am still having this "invisible overlay" issue. Easy enough to fix by hitting ESC, but just in case it helps diagnose the problem.

Very nice workaround @VRXDev2! For what it's worth, I have Premium and don't have the Adblock plugin enabled, but I am still having this "invisible overlay" issue. Easy enough to fix by hitting ESC, but just in case it helps diagnose the problem.
NaysKutzu commented 2025-07-23 06:38:01 +00:00 (Migrated from github.com)

Pressing ESC does fix it, yeah — but I actually have Adblock disabled and use YouTube Premium, so there shouldn’t be any ads at all. The invisible overlay issue still happens for me, so it might be caused by something else. But yeah thanks to @VRXDev2 i can fix it and i don't have to press ctrl+r or restart the app!

Pressing ESC does fix it, yeah — but I actually have Adblock disabled and use YouTube Premium, so there shouldn’t be any ads at all. The invisible overlay issue still happens for me, so it might be caused by something else. But yeah thanks to @VRXDev2 i can fix it and i don't have to press ctrl+r or restart the app!
Owner

In a duplicate of this, there is this comment
https://github.com/th-ch/youtube-music/issues/3648#issuecomment-3119464328

Okay so I figured out the issue, I used the DevTools and there's this tag:

It's the inert tag which disables all UI events (source), I don't know why it randomly appears but for now you can enable DevTools and remove the inert attribute and the UI becomes functional again

Maybe @th-ch would have an idea about this?

I also think that's the cause, since you mentioned that pressing "Esc" makes it interactive again.

In a duplicate of this, there is this comment https://github.com/th-ch/youtube-music/issues/3648#issuecomment-3119464328 > Okay so I figured out the issue, I used the DevTools and there's this tag: > > <ytmusic-app-layout id="layout" class="style-scope ytmusic-app" is-cairo-voting-animation-enabled="" player-visible="" player-page-open="" inert player-ui-state="PLAYER_PAGE_OPEN" is-bauhaus-sidenav-enabled=""> > > It's the `inert` tag which disables all UI events ([source](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/inert)), I don't know why it randomly appears but for now you can enable DevTools and remove the `inert` attribute and the UI becomes functional again > > Maybe [@th-ch](https://github.com/th-ch) would have an idea about this? I also think that's the cause, since you mentioned that pressing "Esc" makes it interactive again.
Saileyy commented 2025-07-27 21:01:37 +00:00 (Migrated from github.com)

pressing ESC fixes it, probably an ad popup that turns invisible after adblock removes the ad

thank u my goat

> pressing ESC fixes it, probably an ad popup that turns invisible after adblock removes the ad thank u my goat
PenguSit commented 2025-07-27 22:45:04 +00:00 (Migrated from github.com)

Pressing ESC is not working for me, ive tried on versions 3.10, 3.9, and 3.8 but they all freeze on startup so i cannot interact with anything.

Pressing ESC is not working for me, ive tried on versions 3.10, 3.9, and 3.8 but they all freeze on startup so i cannot interact with anything.
Getbricked commented 2025-07-28 11:58:46 +00:00 (Migrated from github.com)

Pressing ESC is not working for me, ive tried on versions 3.10, 3.9, and 3.8 but they all freeze on startup so i cannot interact with anything.

freeze on startup seems to be a diff problem so far my problem came from that invisible pop up can you still interact with the top nav ?? if the top nav is also freeze then I think it's a different issue

> Pressing ESC is not working for me, ive tried on versions 3.10, 3.9, and 3.8 but they all freeze on startup so i cannot interact with anything. freeze on startup seems to be a diff problem so far my problem came from that invisible pop up can you still interact with the top nav ?? if the top nav is also freeze then I think it's a different issue
Daksh777 commented 2025-07-30 03:03:04 +00:00 (Migrated from github.com)

I also think that's the cause, since you mentioned that pressing "Esc" makes it interactive again.

That is the issue, yes. I dug into this more and here's what I found out

I've analyzed the DOM changes that occur when the UI becomes unclickable.

  1. The Main App Layout is Made Inert

The primary change causing the lack of interactivity is the addition of the inert attribute to the main <ytmusic-app-layout> element.

- <ytmusic-app-layout id="layout" class="style-scope ytmusic-app" is-bauhaus-sidenav-enabled="" is-cairo-voting-animation-enabled="" player-ui-state="PLAYER_PAGE_OPEN" player-visible="" player-page-open="" show-fullscreen-controls=""><!--css-build:shady--></ytmusic-app-layout>
+ <ytmusic-app-layout id="layout" class="style-scope ytmusic-app" is-bauhaus-sidenav-enabled="" is-cairo-voting-animation-enabled="" player-ui-state="PLAYER_PAGE_OPEN" player-visible="" player-page-open="" inert="" show-fullscreen-controls=""><!--css-build:shady--></ytmusic-app-layout>
  1. A Promo Popup is Activated

Simultaneously, a popup container (ytmusic-popup-container) is activated and brought to the foreground. This is done by removing aria-hidden and adding a z-index.

- <tp-yt-paper-dialog style="... display: none;" aria-hidden="true"><!--css-build:shady--><ytmusic-mealbar-promo-renderer ...>
+ <tp-yt-paper-dialog style="... z-index: 103;"><!--css-build:shady--><ytmusic-mealbar-promo-renderer ...>

I can write a script to prevent this if you could point me into the right direction, as in where should the script be, and I can figure out the rest.

> I also think that's the cause, since you mentioned that pressing "Esc" makes it interactive again. That is the issue, yes. I dug into this more and here's what I found out I've analyzed the DOM changes that occur when the UI becomes unclickable. 1. The Main App Layout is Made Inert The primary change causing the lack of interactivity is the addition of the `inert` attribute to the main `<ytmusic-app-layout>` element. ```diff - <ytmusic-app-layout id="layout" class="style-scope ytmusic-app" is-bauhaus-sidenav-enabled="" is-cairo-voting-animation-enabled="" player-ui-state="PLAYER_PAGE_OPEN" player-visible="" player-page-open="" show-fullscreen-controls=""><!--css-build:shady--></ytmusic-app-layout> + <ytmusic-app-layout id="layout" class="style-scope ytmusic-app" is-bauhaus-sidenav-enabled="" is-cairo-voting-animation-enabled="" player-ui-state="PLAYER_PAGE_OPEN" player-visible="" player-page-open="" inert="" show-fullscreen-controls=""><!--css-build:shady--></ytmusic-app-layout> ``` 2. A Promo Popup is Activated Simultaneously, a popup container (`ytmusic-popup-container`) is activated and brought to the foreground. This is done by removing `aria-hidden` and adding a `z-index`. ```diff - <tp-yt-paper-dialog style="... display: none;" aria-hidden="true"><!--css-build:shady--><ytmusic-mealbar-promo-renderer ...> + <tp-yt-paper-dialog style="... z-index: 103;"><!--css-build:shady--><ytmusic-mealbar-promo-renderer ...> ``` I can write a script to prevent this if you could point me into the right direction, as in where should the script be, and I can figure out the rest.
frosty3907 commented 2025-07-31 01:44:53 +00:00 (Migrated from github.com)

yep same here, esc fixes for now

yep same here, esc fixes for now
ionutpf commented 2025-08-02 18:05:46 +00:00 (Migrated from github.com)

Pressing ESC works perfectly but I don't think it has something to do with ads. I have youtube premium and the adblocker plugin is disabled

Pressing ESC works perfectly but I don't think it has something to do with ads. I have youtube premium and the adblocker plugin is disabled
nagymathev commented 2025-08-03 20:36:05 +00:00 (Migrated from github.com)

Yeah, pressing ESC works perfectly for the time being. Thanks guys! 👍

Yeah, pressing ESC works perfectly for the time being. Thanks guys! 👍
bioe007 commented 2025-08-04 04:25:43 +00:00 (Migrated from github.com)

ESC not working for me on macos.

ESC not working for me on macos.
jscheel commented 2025-08-21 22:09:29 +00:00 (Migrated from github.com)

esc is working for me, but do we know why the bar doesn't appear so that we can just dismiss it? For me, the content in the promo bar is:

We're listening!

We’ve updated your upcoming music based on your listening behavior. You can change this in settings.

[dismiss]  [settings]

It seems like this is used to show system messages, so I think it technically should be shown.

esc is working for me, but do we know why the bar doesn't appear so that we can just dismiss it? For me, the content in the promo bar is: ``` We're listening! We’ve updated your upcoming music based on your listening behavior. You can change this in settings. [dismiss] [settings] ``` It seems like this is used to show system messages, so I think it technically _should_ be shown.
Daksh777 commented 2025-08-22 09:46:02 +00:00 (Migrated from github.com)

You are correct @jscheel, it's actually this message

Image

I identified the line that's blocking it and I have been testing it for a few days and it's working well. I don't think there are any other annoying popups coming if I remove the CSS that blocks it.

I'll make a PR for this!

You are correct @jscheel, it's actually this message <img width="396" height="214" alt="Image" src="https://github.com/user-attachments/assets/e627308b-709b-4980-901c-5a3d5a137d01" /> I identified the line that's blocking it and I have been testing it for a few days and it's working well. I don't think there are any other annoying popups coming if I remove the CSS that blocks it. I'll make a PR for this!
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: YTMD/youtube-music#3621
No description provided.