prock icon indicating copy to clipboard operation
prock copied to clipboard

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

Open MeisamEb opened this issue 4 months ago • 1 comments

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.

MeisamEb avatar Jul 14 '26 07:07 MeisamEb

Nice find, thanks! Yeah, go ahead and create the PR, sure

matrohin avatar Jul 15 '26 09:07 matrohin