deno-webui: macOS - running latest opens a window then stops responding

# os
macOs Sequoia 15.2
# deno --version
deno 2.1.1 (stable, release, aarch64-apple-darwin)
v8 13.0.245.12-rusty
typescript 5.6.2

window opens but doesn’t render anything, then stops responding and process needs to be killed manually

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 38 (21 by maintainers)

Most upvoted comments

I think this is an internal webui bug, we will try to fix it later this week as we are in vacation right now.

Sorry guys, I don’t have a mac machine, that’s way I did not look into this issue yet…

wouldn’t it be better to set the 512 as a variable/constant and then always use it?

Yes, the main one is in the core, written in C #define WEBUI_MAX_IDS (256), but personally, I don’t know if there is a way to make the Objective-C macros read this C defined macro. However, yes, we can add another macro just for the Objective-C script.

_Ref: https://github.com/webui-dev/webui/blob/09128cefb05058c2dc266e28575a7f3763e4320b/include/webui.h#L17_

I’m not sure which programming language this is

It’s Objective-C, and the rest of the library is written in pure C.

Here is the dump: 20241105_dump.txt

Thank you for sharing this. Yes, it’s useful. I will try my best to fix it today in the evening 👍

I will check this tonight.

Note: Browser version myWindow.showBrowser(myHtml, WebUI.Browser.Chrome) is working fine just the WebView version has this issue.