-
Notifications
You must be signed in to change notification settings - Fork 635
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
A way to set app_id on Wayland is needed #1332
Comments
On Wayland this will be passed to set_app_id in xdg-shell On X11 this will be passed to wmclass It is used by desktop environments to identify the application Fixes slint-ui#1332
There is some discussion in the now closed PR #1333.
In the mean time, it is possible to do that using private API (workaround) |
Is it possible to use this workaround in the node api ? |
I realize that adding API on |
ChangeLog: Added function to set the XDG app id on Wayland/X11. This needs to be added with respective function names in the language sections. Fixes #1332
ChangeLog: Added function to set the XDG app id on Wayland/X11. This needs to be added with respective function names in the language sections. Fixes #1332
ChangeLog: Added function to set the XDG app id on Wayland/X11. This needs to be added with respective function names in the language sections. Fixes #1332
On Wayland the set_app_id request in xdg shell allows to set the desktop file name for an app: https://wayland.app/protocols/xdg-shell#xdg_toplevel:request:set_app_id
Setting the right value here is important for desktop apps, for a number of reasons. See https://nicolasfella.de/posts/importance-of-desktop-file-mapping/ for details on that.
Slint should expose a way to set this app id, similar to QGuiApplication::setDesktopFileName()
The text was updated successfully, but these errors were encountered: