nwjs/nw.js

Tray icons are a dedicated, separated window when running on Wayland mode

Porkepix opened this issue · 0 comments

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

When running a nw.js application offering a tray icon directly on Wayland (--ozone-platform=wayland), the tray icon is its own separated window. On Gnome, it means we can switch on it with alt-tab and have a big icon as a window, on a tiling window manager/compositor it means we get a tile for the tray icon itself.

Expected/Proposed Behavior

The tray icon should be set in the tray icon place if one exist, but clearly not be a window on its own.

Additional Info

  • Operating System: ArchLinux
  • NW.js Version: Seen on many, including latest 0.87.
  • Repro Link: I've no idea what's this.
  • Code snippet: None, tested while trying the understand the cause of another issue on another application
  • Crash report: N/A