nwjs/nw.js

Strange red tray icon

Closed this issue · 11 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

I tried updating my project's nwjs version to the latest one(v0.90) and there's always a red square icon on the tray. My project has a png icon defined, and the .exe file has the icon altered via resource hacker, so that is extra strange. On top of that, it seems that sometimes closing the project window won't properly close it(nwjs will still run in the background, not allowing me to open my project again), until I either right click that red icon -> close or force close through the task bar.

I'm not entirely sure but I think a few previous versions do it too. Last one I tested that DIDN'T have it was v0.87

Expected/Proposed Behavior

None of the above should happen

Additional Info

  • Operating System: Windows 10 Pro
  • NW.js Version: v0.90
  • Repro Link: open any project
  • Crash report: none

On top of that, it seems that sometimes closing the project window won't properly close it(nwjs will still run in the background, not allowing me to open my project again)

is it the come back of ghost process ?
#7633 (comment)
#7852

I worry that maybe

this is also here in v0.89.0
its random.. there sometimes, and after restart. its gone.

make a shortcut with bat for kill all node and nw process.
Also take the opportunity to clean the OS process
image

me too ! I test V0.90~V0.88

When the red block shows up, does it always happen that nw processes are not freed in Task Manager after closing? Or have there been instances where you are able to close NW.js while the red block is present? Trying to see if this is related to #7852

#7236 (comment)
This comment might have some helpful workarounds.

#7236 (comment) This comment might have some helpful workarounds.

I test the v0.87.0 is OK.
Is it possible that the latest version has any features?

it might be related to the slow migration to nw2/removal of nw1

Also the issue doesn't always happen, but at random. Specially when the application stops responding and gets force closed

Is there any fix for this yet?