Linux client has invalid XDG toplevel app id
Maintainers usually reply within 3 days
A pull request for this has already been merged.
- #1730 by @SkyJoshua — merged
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 65/100
Research direction
The payload does not name the file that sets the app id, so start by searching the Linux desktop client for where the Wayland toplevel app id is set to Valour. Confirm that a matching gg.valour.Valour.desktop entry exists or is expected to ship with the client. Done when the app id is gg.valour.Valour, which you can check with WAYLAND_DEBUG=1 or a compositor tool, and the KDE icon and window rules behave as the issue describes.
Written by the indexing model from the issue text.
Description
Describe the bug
The app id on wayland needs to match the name of the desktop file so that compositors/DEs can properly identify the application. It's currently registered as Valour when it should be gg.valour.Valour. An improper app id can result in strange behavior and handling of the application, for example, on KDE the app icon in every place except the task bar appears as the default wayland logo, and reportedly on Gnome this can cause window matching rules to fail.
To Reproduce
Steps to reproduce the behavior:
- Open linux application
- Check app id either through logging (
WAYLAND_DEBUG=1) or compositor tools (hyprctl, Kwin Debug Console, etc.)
Expected behavior
IDs should match
Screenshots
System Information:
- OS: Linux
- Valour Version: 0.9.19
- Valour Platform: Desktop
Additional context
The compositor shell will try to group application surfaces together by their app ID. As a best practice, it is suggested to select app ID's that match the basename of the application's .desktop file. For example, "org.freedesktop.FooViewer" where the .desktop file is "org.freedesktop.FooViewer.desktop".
https://wayland.app/protocols/xdg-shell#xdg_toplevel:request:set_app_id
- Dominant language
- C#
- Stars
- 411
- Forks
- 41
- Avg merge
- 4d 18h
- Merged PRs (30d)
- 8
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Valour-Software/Valour
-
Needs Looking At
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Valour-Software/Valour#1735 ·
Maintainers usually reply within 3 days
-
Desktop app invites use the wrong link in Copy.Possibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Valour-Software/Valour#1727 · 1 comment ·
Maintainers usually reply within 3 days
-
Good First Issue Needs Looking At
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Valour-Software/Valour#1724 ·
Maintainers usually reply within 3 days
-
Needs Looking At
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Valour-Software/Valour#1719 ·
Maintainers usually reply within 3 days
-
Needs Looking At
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Valour-Software/Valour#1718 · 1 comment ·
Maintainers usually reply within 3 days
All issues in Valour-Software/Valour
Similar issues
-
The Recommended preset turns on Import Uno DSP, which only works with the Material themePossibly taken @agneszitte claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
unoplatform/uno.templates#2388 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
eyalgolan/statecraft-israel#2732 ·
Maintainers usually reply within 1 day
-
要トリアージ
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
kind/chore status/draft
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Altinn/altinn-events#1158 ·
Maintainers usually reply within 1 day
-
S: Untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Trauma-Station/Trauma-Station#5285 ·
Maintainers usually reply within 1 day