Skip to content
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

Open
nicolasfella opened this issue Jun 10, 2022 · 0 comments · May be fixed by #1333
Open

A way to set app_id on Wayland is needed #1332

nicolasfella opened this issue Jun 10, 2022 · 0 comments · May be fixed by #1333
Labels
a:platform-linux issue specific to Linux, X11 or wayland (mO,bT) enhancement New feature or request

Comments

@nicolasfella
Copy link

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()

nicolasfella added a commit to nicolasfella/slint that referenced this issue Jun 10, 2022
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
@nicolasfella nicolasfella linked a pull request Jun 10, 2022 that will close this issue
@hunger hunger added enhancement New feature or request a:widgets Implementation of widgets (from std-widgets.slint) and their styles (mF,bS) labels Jul 18, 2023
@ogoffart ogoffart added a:platform-linux issue specific to Linux, X11 or wayland (mO,bT) and removed a:widgets Implementation of widgets (from std-widgets.slint) and their styles (mF,bS) labels Jul 18, 2023
@ogoffart ogoffart added priority:low Lowest priority. The issue is kept open for tracking purpose, but noone is actively working on this and removed priority:low Lowest priority. The issue is kept open for tracking purpose, but noone is actively working on this labels Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:platform-linux issue specific to Linux, X11 or wayland (mO,bT) enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants