Nw.js: [macOS] Crash when called window nw.Window.get().setProgessBar()

Created on 8 Sep 2017  路  3Comments  路  Source: nwjs/nw.js

Hi,

I've encountered another issue. NWjs crashes when you call nw.Window.get().setProgressBar(0.5) when there is an existing download which already draws the progresspie (Chromium feature?) on dock icon.

chrome.downloads.download({ url: "http://releases.ubuntu.com/xenial/ubuntu-16.04.3-desktop-amd64.iso" });
setInterval(
    () => nw.Window.get().setProgressBar(Math.random()) // It crashes here
, 1000); 

Tested on NWjs v0.25.0 SDK, macOS 10.12.6

P1 bug platform-specific triaged

All 3 comments

Little bit off topic: tested on NWjs v0.22.3, win10 build 15063.540 and works properly.

I can reproduce this issue on Mac with nwjs-sdk-v0.25.0.
_It doesn't happen on Linux/Windows with nwjs-sdk-v0.25.0_

This is fixed in git and will be available in the next nightly build.

Was this page helpful?
0 / 5 - 0 ratings