nwjs/nw.js

Wayland app_id empty

pdf opened this issue · 0 comments

pdf commented

Issue Type

Before opening an issue, please search and see if it has already been raised.

  • Bug Report

  • Feature Request

  • Successfully reproduced against the latest version of NW.js?

Current/Missing Behavior

On Wayland, app_id must be available for desktop environments to match an application to its desktop file for things like icons etc to be resolvable. The property is similar to WM_CLASS for X11, and indeed must map 1:1 to the .desktop basename, and to the StartupWMClass property within the .desktop file when it exists.

Expected/Proposed Behavior

nw.js applications should return an app_id

Additional Info

Here is an example of how Electron solved this:

electron/electron#34855

  • Operating System: Arch Linux
  • NW.js Version: 78.1