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

Windows Taskbar: No badge displayed when "Use small Icons" is applied.

Open jjog1 opened this issue 11 years ago • 2 comments

When running Windows 7 I noticed that if you enable "Use small Icons" on the task bar then the applications notification badge is no longer displayed.

I created a very simple application to confirm that we didn't break it with our application.

<!DOCTYPE html>
<html>
  <head>
    <title>Hello World!</title>
  </head>
  <body>
  <script>
    var gui = require('nw.gui'); 
    var win = gui.Window.get();
    win.setBadgeLabel("1");
  </script>

    <h1>Hello World!</h1>
    We are using node.js <script>document.write(process.version)</script>.

    <script>document.write(process.versions['node-webkit'])</script>.
  </body>
</html>

smalltaskbar bigtaskbar

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

jjog1 avatar Aug 11 '15 11:08 jjog1

I can reproduce this issue on Windows with nwjs-sdk-v0.22.3. It just doesn't work in small taskbar icons (works well in normal taskbar icons).

Christywl avatar May 25 '17 06:05 Christywl

This is windows normal behaviour:

https://support.microsoft.com/en-us/help/29280/windows-10-how-to-use-the-taskbar

Note: Badges won’t display on small taskbar buttons.

monema75 avatar Apr 26 '18 08:04 monema75