jellyfin / jellyfin-media-player

Jellyfin Desktop Client
GNU General Public License v2.0
3.11k stars 312 forks source link

App launcher on Linux opens a new icon #649

Open DireMunchkin opened 4 months ago

DireMunchkin commented 4 months ago

Describe the bug Since version 1.10 there was a change in the behavior of the app launcher. I used to be able to pin the app launcher and once the program is open I can click or use Super+\<n> hotkey to switch to it. Now the app launcher opens a new icon, which cannot be pinned.

To Reproduce Steps to reproduce the behavior:

  1. Pin the Jellyfin launcher to task bar on Linux, w Cinnamon.
  2. Click on it.
  3. Minimize the app window.
  4. Click on it again.

Expected behavior I expect the window to be raised or focused, instead it does nothing.

Screenshots Screenshot from 2024-05-18 18-51-49

Desktop (please complete the following information):

7system7 commented 4 months ago

Same here.

OS: Arch Linux x86_64 
Kernel: 6.9.1-arch1-1 
DE: GNOME 46.1 
WM: Mutter 

image

rafalb8 commented 2 months ago

This is caused by this change 7f72a3e9ff9df7d02d27d02496355944289d9bfe. Here StartupWMClass was updated, but running

xprop WM_CLASS

shows WM_CLASS(STRING) = "jellyfinmediaplayer", "Jellyfin Media Player"