nw2: Window.setBadgeLabel and Window.setProgressBar are not working
See original GitHub issueNWJS Version : 0.44.6, 0.45.4 Operating System : Windows 10 x64
Expected behavior
methods must work as expected
Actual behavior
methods are not working and there is an error in console:
Unchecked runtime.lastError: The context from which the function was called did not have an associated app
How to reproduce
- run nw.js and show console
- enter commands:
var w = nw.Window.get()
w.setBadgeLabel('12');
w.setProgressBar(0.5)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Progress bar will not work correctly if add more than one ...
As far as I can make out from the code you've posted, the problem appears to be that you are not managing the...
Read more >Form GUI Progress Bar Not Working Properly
The progress bar in the first phase is the one not working. The progress bar in the second phase works, it just needs...
Read more >Progressbar in script UI problem - Adobe Support Community
Solved: Hi friends I´m trying to add a window with a simple progress bar. But I´m having 2 problems. To better explain I...
Read more >Card Window Progress Bars in FileMaker Pro - YouTube
Brought to you by https://www.filemakermagazine.comIn this video I provide you with the details about how to use a Card Window for showing ......
Read more >Function ProgressOn - AutoIt
Creates a customizable progress bar window. ProgressOn ( "title", "maintext" [ ... opt, [optional] Default is 'always on top/with title/not moveable'
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is fixed in git and will be available in the next nightly build.
@DimPaDev Where did you see that functions work only on ubuntu? These notes in documentation applies only to the Linux family. On Windows and MacOS, these methods worked perfectly in the old mode without nw2. The problem is in nw2 mode.