Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Native Wayland window class #2687

Open
3 of 5 tasks
Damglador opened this issue Dec 7, 2024 · 0 comments
Open
3 of 5 tasks

[Bug]: Native Wayland window class #2687

Damglador opened this issue Dec 7, 2024 · 0 comments
Labels
electron-issue It's an Electron or Electron related dependencies issue (not YTM-Desktop issue)

Comments

@Damglador
Copy link

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.6.2-1

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

No response

Reproduction steps

  1. Enter Wayland session
  2. youtube-music --ozone-platform=wayland
  3. In alt+tab menu app will have a stock Wayland icon, possibly in the title bar as well, if system title bar is enabled

Expected Behavior

It should have icon of Youtube Music

Actual Behavior

It has Wayland icon

Enabled plugins

  1. Експоненційна гучність
  2. Компактна бічна панель
  3. Навігація
  4. Обхід вікових обмежень
  5. Ad blocker
  6. Discord integration

Additional Information

The app's window class is "YouTube Music", but the desktop file, icon and binary are youtube-music. Because Wayland grabs an icon from a .desktop file with a name that matches the name of a window class, it tries to find .desktop file "YouTube Music", which by default is missing (at least in AUR version).

Possible solutions:

  1. Rename .desktop file to "YouTube Music.desktop"
  2. Change window class to "youtube-music"
@Damglador Damglador changed the title [Bug]: Wayland window class [Bug]: Native Wayland window class Dec 7, 2024
@JellyBrick JellyBrick added the electron-issue It's an Electron or Electron related dependencies issue (not YTM-Desktop issue) label Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
electron-issue It's an Electron or Electron related dependencies issue (not YTM-Desktop issue)
Projects
None yet
Development

No branches or pull requests

2 participants