nw.js icon indicating copy to clipboard operation
nw.js copied to clipboard

Strange red tray icon

Open peq42 opened this issue 1 year ago • 4 comments

Issue Type

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

  • [X] Bug Report

  • [ ] Feature Request

  • [X] 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

peq42 avatar Aug 06 '24 17:08 peq42

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 ? https://github.com/nwjs/nw.js/issues/7633#issuecomment-749297180 https://github.com/nwjs/nw.js/issues/7852

jonlepage avatar Aug 10 '24 22:08 jonlepage

I worry that maybe

peq42 avatar Aug 10 '24 23:08 peq42

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

bmatusiak avatar Aug 15 '24 18:08 bmatusiak

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

jonlepage avatar Aug 23 '24 10:08 jonlepage

image

sljer avatar Sep 03 '24 02:09 sljer

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

shixued avatar Sep 03 '24 06:09 shixued

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

ayushmanchhabra avatar Sep 03 '24 13:09 ayushmanchhabra

https://github.com/nwjs/nw.js/issues/7236#issuecomment-2302925889 This comment might have some helpful workarounds.

ayushmanchhabra avatar Sep 03 '24 13:09 ayushmanchhabra

#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?

shixued avatar Sep 05 '24 08:09 shixued

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

peq42 avatar Sep 05 '24 20:09 peq42

Is there any fix for this yet?

zkrige avatar Sep 18 '24 07:09 zkrige