[Bug]: The hotkey setting window for Electron appears on the screen every time you launch the YouTube-Music app on GNOME 48 #3266

Open
opened 2025-04-19 21:40:08 +00:00 by Kerrung · 6 comments
Kerrung commented 2025-04-19 21:40:08 +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

https://aur.archlinux.org/packages/youtube-music

Checklists

What operating system are you using?

Other Linux

Operating System Version

Arch Linux

What CPU architecture are you using?

x64

Last Known Working YouTube Music (Application) version

3.7.5

Reproduction steps

Just run the app.

Expected Behavior

As 3.7.5 just run the app and use it. The setting window have not appeared.

Actual Behavior

The hotkey setting window for Electron appears on the screen every time you launch the YouTube-Music app on Arch Linux with GNOME 48.

Enabled plugins

config.json

Additional Information

Image

Thank you for my favorite app!

### 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 https://aur.archlinux.org/packages/youtube-music ### 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? Other Linux ### Operating System Version Arch Linux ### What CPU architecture are you using? x64 ### Last Known Working YouTube Music (Application) version 3.7.5 ### Reproduction steps Just run the app. ### Expected Behavior As 3.7.5 just run the app and use it. The setting window have not appeared. ### Actual Behavior The hotkey setting window for Electron appears on the screen every time you launch the YouTube-Music app on Arch Linux with GNOME 48. ### Enabled plugins [config.json](https://github.com/user-attachments/files/19822961/config.json) ### Additional Information ![Image](https://github.com/user-attachments/assets/bc0ee824-5fa8-4fba-9ab1-4d8672870e65) Thank you for my favorite app!
Owner

GNOME 48 recently came out, are you saying that version 3.7.5 doesn't have this issue on GNOME 48?
just making sure that this is not a GNOME error, but an actual issue with our code/configuration.

GNOME 48 recently came out, are you saying that version 3.7.5 doesn't have this issue on GNOME 48? just making sure that this is not a GNOME error, but an actual issue with our code/configuration.
Kerrung commented 2025-04-19 21:54:34 +00:00 (Migrated from github.com)

GNOME 48 recently came out, are you saying that version 3.7.5 doesn't have this issue on GNOME 48? just making sure that this is not a GNOME error, but an actual issue with our code/configuration.

@ArjixWasTaken I just tested it with 3.7.5 and have no this issue here.

> GNOME 48 recently came out, are you saying that version 3.7.5 doesn't have this issue on GNOME 48? just making sure that this is not a GNOME error, but an actual issue with our code/configuration. @ArjixWasTaken I just tested it with 3.7.5 and have no this issue here.
franz-dc commented 2025-04-20 19:05:26 +00:00 (Migrated from github.com)

This is a Chromium bug, in which the fix is not released yet (if I'm not mistaken). To mitigate this for now, you can add the flag --disable-features=GlobalShortcutsPortal in your .desktop file.

For some reason, I don't experience this on YouTube Music, only on Brave.

This is a Chromium bug, in which the fix is not released yet (if I'm not mistaken). To mitigate this for now, you can add the flag `--disable-features=GlobalShortcutsPortal` in your .desktop file. For some reason, I don't experience this on YouTube Music, only on Brave.
Owner

Since it is a Chromium bug, even if the fix gets released, it will take even longer for electron to update to that chromium version 😔

Since it is a Chromium bug, even if the fix gets released, it will take even longer for electron to update to that chromium version 😔
Kerrung commented 2025-04-20 22:24:10 +00:00 (Migrated from github.com)

This is a Chromium bug, in which the fix is not released yet (if I'm not mistaken). To mitigate this for now, you can add the flag --disable-features=GlobalShortcutsPortal in your .desktop file.

For some reason, I don't experience this on YouTube Music, only on Brave.

@franz-dc Hi! Thank you for your advice which has helped me. But here is my advice to thank you. Putting Electron applications settings flags in *.desktop is not the correct way. Instead, create a file ~/.config/youtube-music-flags.conf, where to place your settings flags will be the most correct way.

> This is a Chromium bug, in which the fix is not released yet (if I'm not mistaken). To mitigate this for now, you can add the flag `--disable-features=GlobalShortcutsPortal` in your .desktop file. > > For some reason, I don't experience this on YouTube Music, only on Brave. @franz-dc Hi! Thank you for your advice which has helped me. But here is my advice to thank you. Putting Electron applications settings flags in *.desktop is not the correct way. Instead, create a file ~/.config/youtube-music-flags.conf, where to place your settings flags will be the most correct way.
Kerrung commented 2025-04-20 23:06:48 +00:00 (Migrated from github.com)

This is a Chromium bug, in which the fix is not released yet (if I'm not mistaken). To mitigate this for now, you can add the flag --disable-features=GlobalShortcutsPortal in your .desktop file.

For some reason, I don't experience this on YouTube Music, only on Brave.

I tried again and found that --disable-features=GlobalShortcutsPortal still doesn't help me solve the problem. I mistakenly concluded that it did when I ran the application from the terminal using this flag and did not see the problem. I posted about it here immediately afterwards. But after that I ran the application from the terminal again, but without any flags at all, but this time I didn't find any problems either. The problem only appears anyway if I run the application not from the terminal, but by clicking the app icon on GNOME's dash panel.

> This is a Chromium bug, in which the fix is not released yet (if I'm not mistaken). To mitigate this for now, you can add the flag `--disable-features=GlobalShortcutsPortal` in your .desktop file. > > For some reason, I don't experience this on YouTube Music, only on Brave. I tried again and found that `--disable-features=GlobalShortcutsPortal` still doesn't help me solve the problem. I mistakenly concluded that it did when I ran the application from the terminal using this flag and did not see the problem. I posted about it here immediately afterwards. But after that I ran the application from the terminal again, but without any flags at all, but this time I didn't find any problems either. The problem only appears anyway if I run the application not from the terminal, but by clicking the app icon on GNOME's dash panel.
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#3266
No description provided.