From 41d97ddd21e61c37801af164865d4ec5f2d79f47 Mon Sep 17 00:00:00 2001 From: "mr. m" Date: Sat, 31 Jan 2026 18:34:55 +0100 Subject: [PATCH] fix: Dont update the spaces menu for GTK, b=closes #12024, c=common --- src/zen/common/modules/ZenMenubar.mjs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/zen/common/modules/ZenMenubar.mjs b/src/zen/common/modules/ZenMenubar.mjs index 81a9ce9c9..62536c1d0 100644 --- a/src/zen/common/modules/ZenMenubar.mjs +++ b/src/zen/common/modules/ZenMenubar.mjs @@ -98,6 +98,12 @@ export class nsZenMenuBar { `); document.getElementById("view-menu").after(spacesMenubar); document.getElementById("zen-spaces-menubar").addEventListener("popupshowing", () => { + if (AppConstants.platform === "linux") { + // On linux, there seems to be a bug where the menu freezes up and makes the browser + // suppiciously unresponsive if we try to update the menu while it's opening. + // See https://github.com/zen-browser/desktop/issues/12024 + return; + } gZenWorkspaces.updateWorkspacesChangeContextMenu(); }); }