Mastermindzh / tidal-hifi

The web version of Tidal running in electron with hifi support thanks to widevine.
Other
911 stars 54 forks source link

App Does Not Raise From Background #398

Open SnoutBug opened 1 month ago

SnoutBug commented 1 month ago

After closing the app with the setting "Minimize on Close" turned on, you can not raise the app again by clicking on the corresponding entry in Gnomes "Background Apps"-Tab.

Setting "Single Instance" to false will start a new instance of the app after clicking on the corresponding entry in Gnomes "Background Apps"-Tab with the approximate error message of "API Error Port 47836 already in use"

I am on Fedora 40 with Gnome 46.1 using Wayland.

image

Additionally the app also does not rise from background when clicking on the corresponding media control box in contrast to valent's media control

https://github.com/Mastermindzh/tidal-hifi/assets/71790678/0ac96d34-7a9b-4476-a237-5b93e9804dbd

Mastermindzh commented 1 month ago

Does it work if you hit the little icon in your dock?

I don't think we have any control over this from the app t.b.h, do you know what the click on the item actually invokes from Gnome?

SnoutBug commented 1 month ago

The icon is missing when the app is actually in the background. What works though, is the icon inside the icon tray, for some reason the icon was not available when I created this issue or I accidentally changed the related setting. (Window > Toggle Window).

do you know what the click on the item actually invokes from Gnome?

I am not entirely sure, I looked through the code of andyholmes/valent but could not make the connection in my head quite yet.