Skip to content

fix: handle upstream titleBarStyle change for About window#489

Open
Hayao0819 wants to merge 1 commit intoaaddrick:mainfrom
Hayao0819:fix/about-window-hiddenInset
Open

fix: handle upstream titleBarStyle change for About window#489
Hayao0819 wants to merge 1 commit intoaaddrick:mainfrom
Hayao0819:fix/about-window-hiddenInset

Conversation

@Hayao0819
Copy link
Copy Markdown

Summary

  • Upstream changed the About window's titleBarStyle from "" to "hiddenInset", causing isPopupWindow() to no longer recognize it as a popup
  • The About window was misclassified as the main window, receiving frame: true and resize handlers, which broke its rendering on GNOME/X11 (showed minified JS instead of version info)
  • Update isPopupWindow() to also match titleBarStyle === 'hiddenInset' for windows without minWidth

Test plan

  • Launch claude-desktop on GNOME/X11 with default menu bar mode (auto)
  • Press Alt to show menu bar, open "About This App"
  • Verify the About dialog displays version info correctly (not minified JS)
  • Verify the main window still works normally with native frame
  • Verify Quick Entry window still works as frameless popup

Follow-up

Since this fix makes the About window frameless (frame: false), there is no native close button. A follow-up PR to add Escape key support for closing popup windows is ready at fix/popup-escape-close.

Fixes #481

Upstream changed the About window's titleBarStyle from "" to
"hiddenInset", causing isPopupWindow() to misclassify it as the main
window. This resulted in frame: true and resize handlers being applied
to the About dialog, breaking its rendering on GNOME/X11 (showing
minified JS instead of version info).

Update isPopupWindow() to also match titleBarStyle === 'hiddenInset'
for windows without minWidth.

Fixes aaddrick#481
@Hayao0819 Hayao0819 requested a review from aaddrick as a code owner April 22, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] "About This App" dialog shows minified JavaScript error instead of version info

1 participant