Skip to content

Wayland: Window appears as "Unknown" in GNOME Dock because app_id is not set #2

Description

@MeisamEb

Hi!

I noticed an issue when running Prock on:

  • Ubuntu 24.04.4 LTS
  • GNOME Shell 46
  • Wayland

The application starts normally, but in the GNOME dock it appears with the default gear icon and the name "Unknown" instead of being associated with prock.desktop.

The desktop entry is installed correctly, but the window is not matched to it.

I tested adding:

glfwWindowHintString(GLFW_WAYLAND_APP_ID, "prock");

before glfwCreateWindow(), and after rebuilding the application the problem disappeared. The correct icon and application name are shown in the dock.

If you'd like, I'd be happy to submit a pull request for this change.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions