Skip to content

panel: window-list - fall back to StartupWMClass when resolving application icons - #589

Merged
trigg merged 1 commit into
WayfireWM:masterfrom
mrsteve0924:missing-icon
Nov 6, 2026
Merged

trigg merged 1 commit into
WayfireWM:masterfrom
mrsteve0924:missing-icon

Conversation

@mrsteve0924

Copy link
Copy Markdown
Contributor

Some applications report a window class that differs from their desktop file ID, leaving their window-list icons blank. For example, HexChat reports "Hexchat" but installs io.github.Hexchat.desktop.

When desktop file ID lookup fails, search installed desktop entries for a matching StartupWMClass and use the entry's icon.

Some applications report a window class that differs from their desktop
file ID, leaving their window-list icons blank. For example, HexChat
reports "Hexchat" but installs io.github.Hexchat.desktop.

When desktop file ID lookup fails, search installed desktop entries for
a matching StartupWMClass and use the entry's icon.

Signed-off-by: stephen finkel <mrsteve0924@verizon.net>
Assisted-by: ChatGPT:GPT-5.6 Sol
@trigg

trigg commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

That's certainly a novel approach, can't say I'd have ever come up with this.

LGTM, thanks for the work again!

@trigg trigg added the LGTM Looks good to me! On last check, good to merge label Nov 4, 2026
@trigg
trigg merged commit 334ed25 into WayfireWM:master Nov 6, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

LGTM Looks good to me! On last check, good to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants