Replies: 3 comments 1 reply
|
Thanks for the detailed report. I ran your exact code on Deno 2.9.3 / macOS (webview backend), both packaged and under What happens next in your snippet is probably what made it look dead: That said, you did surface real bugs, which I've confirmed and filed as #36119: programmatic On documentation: fair point about complete examples. There is one — denidian, a small note-taking app covering windows, menus, HMR, and packaging — but it was only linked from the 2.9 blog post. denoland/docs#3421 adds it to the desktop docs. |
|
It's development on Windows 11. As for the mentioned "alert" .. it remained there because i tried all the other scenarios w/o a feedback. They did not work, so i added the alert. Well, glad someone already tracking these issues and i'm not crazy. Regarding the constant issues with
I will retry a clean start project on weekend, because i see the potential of Deno desktop. |
|
I started fresh .. The window events work as intended and from first try. 😠 and i changed the "dev": "nuxt dev & deno desktop --hmr main.ts", |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Deno 2.9.3
Windows 11
The most minimal example possible.
main.ts
i tried with "close", "move", "resize"
i tried with applying the eventlistener on
winandwin2And this not the only issue with minimal example.
deno desktop --hmr ., in the end i had to run the dev server separately and then rundeno desktop --hmr main.tswebviewnot working for me (sometimes windows open/start .. most of the time don't), only withcefseems I get reliable outcome.The point being .. the project seems highly not reliable (even for a "beta"/not-ready-for-production) and documentation is very poor even in this "early" state of the project.
Literally not even 1 full code example. Only chunks of code.
All reactions