markshao / onering-desktop

Automatically exported from code.google.com/p/onering-desktop
0 stars 0 forks source link

Windows下,退出程序时,任务栏图标不会自动消失 #30

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. 运行demo
2. 进入 System Tray Icon,任务栏出现图标
3. 点击窗口的关闭按钮退出程序

What is the expected output?

任务栏图标应该消失

What do you see instead?

任务栏图标仍然显示。当鼠标挪上去时才消失。

Original issue reported on code.google.com by hongqn on 27 Oct 2010 at 9:48

GoogleCodeExporter commented 8 years ago
This issue was updated by revision 51bf06c0ad.

Possibly fix.  Need verify.

Original comment by hongqn on 28 Oct 2010 at 6:09

GoogleCodeExporter commented 8 years ago
verified again.  it is work.

需要确保在当前页面的 unload 事件中执行 icon.destroy() 
,否则就会出现此问题。

Original comment by hongqn on 31 Oct 2010 at 8:05