[Bug]: The hotkey setting window for Electron appears on the screen every time you launch the YouTube-Music app on GNOME 48 #3266
Labels
No labels
awaiting-reply
breaking changes
bug
cannot-reproduce
dependencies
documentation
duplicate
electron-issue
enhancement
fix-available
good first issue
help wanted
invalid
javascript
need more information
need rebase
official-youtube-music-issue
plugin request
question
release
security
stale
Status: blocked
typo
wontfix
ytmd-issue
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: YTMD/youtube-music#3266
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Preflight Checklist
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
Thank you for my favorite app!
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.
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.
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 😔
@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.
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.