Repository navigation
Replies: 2 comments 3 replies
|
This is a race conditon in Deno WebView/GUI apps, the window opens before the process is promoted to the active foreground app, so macOS never swaps in your custom menu and the first mouse click is consumed activating the window, meaning buttons only respond on the second click. It's intermittent because it's a timing race between process launch, window creation, and the window server. Try to explicitly activate the app after showing the window call your library's |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Every so often when I launch an app in dev or prod the app GUI opens as it should but strangely is not fully reactive.
If the app has a menu I find that although the menu code is executed the menu will not appear and I will be left with the standard default of Deno & Edit. Also I find that any buttons on the web page will not respond to a single click however if I do a double click the button will work. There are no errors at all so I just need to close the app - sometimes it will occur again on the next restart or not at all for quite a while.
Just wondering if anyone else has come across this at all using deno desktop. It can happen on a very basic app or a more complicated one.
All reactions