dweymouth / supersonic

A lightweight and full-featured cross-platform desktop client for self-hosted music servers
GNU General Public License v3.0
880 stars 45 forks source link

No app_id under Wayland #247

Open sochotnicky opened 1 year ago

sochotnicky commented 1 year ago

Note: this is just tracking issue, I don't think you can do anything about this yet (but feel free to double check my assumptions). Also feel free to close if you don't want to track this. At least it will be searchable for others.

When the app is run under Wayland (go run -tags wayland) it does not specify app_id. This makes it harder to create rules for window creation (a bit).

As far as I can tell this happens because we use (through fyne/go-glfw) glfw version 3.3.8 (as of this moment latest, released July 22 2022). A PR providing support for Wayland app_id hint was merged on July 26: https://github.com/glfw/glfw/pull/2122

So until new glfw is released we won't be able to do anything about this.