nw.js
nw.js copied to clipboard
Favicon as app icon regression
In some older versions I can load up this app:
{
"name": "test",
"main": "index.html"
}
<!DOCTYPE html>
<html>
<head>
<link rel="icon" href="black.ico" >
</head>
<body>
</body>
</html>
Then the start bar will show the correct icon and the window title bar will have the correct icon. I can then change the href to white.ico and both visible icons update automatically.
| NW.js | title bar | taskbar | Can update visible icon |
|---|---|---|---|
| 0.14.7 | ✔️ | ✔️ | ✔️ |
| 0.23.3 | ✔️ | ✔️ | ✔️ |
| 0.24.4 | ✔️ | ✔️ | ✔️ |
| 0.25.0-beta1 | ✔️ | ❌ | ✔️ |
| 0.25.2 | ✔️ | ❌ | ✔️ |
| 0.26.0 | ✔️ | ❌ | ✔️ |
| 0.28.1 | ✔️ | ❌ | ✔️ |
| 0.33.4 | ✔️ | ❌ | ✔️ |
| 0.40.0-beta1 | ✔️ | ❌ | ✔️ |
| 0.43.0-beta1 | ✔️ | ❌ | ✔️ |
| 0.43.0 | ✔️ | ✔️ | ✔️ |
| 0.43.1 | ✔️ | ✔️ | ✔️ |
| 0.43.2 | ✔️ | ✔️ | ✔️ |
| 0.43.3 | ✔️ | ✔️ | ✔️ |
| 0.43.4 | ✔️ | ✔️ | ✔️ |
| 0.43.5 | ❌ | ❌ | ❌ |
| 0.43.6 | ❌ | ❌ | ❌ |
| 0.44.0-beta1 | ✔️ | ✔️ | ✔️ |
| 0.44.0 | ❌ | ❌ | ❌ |
| 0.44.6 | ❌ | ❌ | ❌ |
| 0.45.0-beta1 | ❌ | ❌ | ❌ |
| 0.45.5 | ❌ | ❌ | ❌ |
| 0.79.0 | ❌ | ❌ | ❌ |
| 0.84.0 | ❌ | ❌ | ❌ |
All tested on Windows 10 with 64-bit SDK versions.
And yes you are reading that right. The bug comes and goes at a few different previous versions. Very weird.
Min Repro:
This seems a bit random. Maybe multiple tests required, right?