diff --git a/ui-electrobun/public/resize-test.html b/ui-electrobun/public/resize-test.html
new file mode 100644
index 0000000..d3513d2
--- /dev/null
+++ b/ui-electrobun/public/resize-test.html
@@ -0,0 +1,82 @@
+
+
+
+
+
+
+
+
+
+
+
+ Resize Stub — Electrobun + libagor-resize.so
+ Waiting for RPC...\n
+
+
+
diff --git a/ui-electrobun/src/bun/index.ts b/ui-electrobun/src/bun/index.ts
index c32f752..1bfd778 100644
--- a/ui-electrobun/src/bun/index.ts
+++ b/ui-electrobun/src/bun/index.ts
@@ -202,6 +202,13 @@ relayClient.onStatus((machineId, status, error) => {
// ── App window ────────────────────────────────────────────────────────────
async function getMainViewUrl(): Promise {
+ // TEMPORARY: load resize test stub via Vite dev server (keeps RPC bridge)
+ const RESIZE_TEST = false; // DISABLED — use normal app for now
+ if (RESIZE_TEST) {
+ const testUrl = DEV_SERVER_URL + "/resize-test.html";
+ console.log(`[RESIZE_TEST] Loading stub via Vite: ${testUrl}`);
+ return testUrl;
+ }
const channel = await Updater.localInfo.channel();
if (channel === "dev") {
try {
@@ -237,12 +244,9 @@ mainWindow = new BrowserWindow({
},
});
-// Native resize via C shared library (libagor-resize.so)
-// Owns GTK signal connections in C — no JSCallback boundary crossing
-try {
- const { initNativeResize } = require("./native-resize.ts");
- initNativeResize((mainWindow as any).ptr, 8);
-} catch (e) { console.error("[native-resize] init failed:", e); }
+// Native resize COMPLETELY DISABLED for stability testing
+// TODO: re-enable after verifying the app starts without it
+console.log("[native-resize] DISABLED — testing app startup stability");
// Prevent GTK's false Ctrl+click detection from closing the window on initial load.
// WebKitGTK reports stale modifier state (0x14 = Ctrl+Alt) after SIGTERM of previous instance,
diff --git a/ui-electrobun/src/mainview/resize-test.html b/ui-electrobun/src/mainview/resize-test.html
new file mode 100644
index 0000000..d3513d2
--- /dev/null
+++ b/ui-electrobun/src/mainview/resize-test.html
@@ -0,0 +1,82 @@
+
+
+
+
+
+
+
+
+
+
+
+ Resize Stub — Electrobun + libagor-resize.so
+ Waiting for RPC...\n
+
+
+