Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[macOS] Crash when called window nw.Window.get().setProgessBar() #6143

Closed
bambooCZ opened this issue Sep 8, 2017 · 3 comments
Closed

[macOS] Crash when called window nw.Window.get().setProgessBar() #6143

bambooCZ opened this issue Sep 8, 2017 · 3 comments

Comments

@bambooCZ
Copy link

bambooCZ commented Sep 8, 2017

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

@panther7
Copy link

panther7 commented Sep 8, 2017

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

@Christywl
Copy link
Contributor

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

@rogerwang
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants