You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue Description puter.ui.createWindow() returns a Promise that never resolves.
Steps to Reproduce
Run this and observe that the alert never happens.
awaitputer.ui.createWindow({content: 'I am a window'});alert("Hello!");
Expected & Actual Behavior
I'm not sure when the Promise should resolve. But either we should resolve it (perhaps when the window is created) or we shouldn't return one.
Addition Information or Screenshots (if applicable)
Deployment
Production (puter.com)
Development (npm run start)
Docker (via docker run)
Docker (via docker-compose)
Puter version (if accessible)
Click the profile button on the top-right, then "Settings". The version number will be printed at the bottom
The text was updated successfully, but these errors were encountered:
letwin=awaitputer.ui.createWindow({content: 'I am a window'});puter.ui.setWindowTitle('New Title',win);puter.ui.setWindowHeight(100,win);puter.ui.setWindowWidth(100,win);
...
Issue Description
puter.ui.createWindow()
returns a Promise that never resolves.Steps to Reproduce
Run this and observe that the alert never happens.
Expected & Actual Behavior
I'm not sure when the Promise should resolve. But either we should resolve it (perhaps when the window is created) or we shouldn't return one.
Addition Information or Screenshots (if applicable)
Deployment
npm run start
)docker run
)docker-compose
)Puter version (if accessible)
The text was updated successfully, but these errors were encountered: