flathub / com.spotify.Client

https://flathub.org/apps/details/com.spotify.Client
68 stars 34 forks source link

Title bar coming up empty #184

Closed alexmex90 closed 2 years ago

alexmex90 commented 2 years ago

I have installed the app from flatpak in Fedora 34, title bar is coming up without text.

image

Let me know if you need me to do some sort of debugging.

alexmex90 commented 2 years ago

158 possibly related to this issue

Erick555 commented 2 years ago

This is upstream problem. All issues reported past month are related to this.

DenysMb commented 2 years ago

Why the Snap version has title and the Flatpak don't? They're in the same version: 1.1.68.632.g2b11de83

These are screenshots of the Snap version: image image

These are screenshots of the Flatpak version: image image

Erick555 commented 2 years ago

The xprop output tells it all. I don't know what snap does differently but the problem was confirmed outside flatpak.

ahayzen commented 2 years ago

Note that the nixpkg of Spotify, which is also made from the snap, works correctly and is using version 1.1.68.632.g2b11de83

Not sure if their definition gives any clues what could be different or what they changed in the history of the file to fix it https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/audio/spotify/default.nix

Erick555 commented 2 years ago

Some distros decided to make spotify-specific patches for their DE.

rafifos commented 2 years ago

@Erick555 even with these patches, it's still broken. See https://github.com/pop-os/shell/issues/740#issuecomment-961957384

msdrigg commented 2 years ago

It works with the standard deb install and the snap install. There is something in the flatpak install that breaks it

kerossin commented 2 years ago

Are other packages also using spotifywm?

The Nix package doesn't seem to have it as a dependency so maybe spotifywm could be the culprit since it does try to set the class name?

Erick555 commented 2 years ago

removing reference to spotifywfm didn't help for me. You may try yourself by editing launcher in your installation.

msdrigg commented 2 years ago

Via trial and error, I have found that the flatpak removes the icons folder from the spotify deb. If the icons folder is restored to the files/extra/share/spotify directory, then it works again. I'll figure out a pr in a sec