Description
On macOS, the top-left Back arrow and Close “X” on the Add/Edit Account window do nothing when clicked, so I can’t leave the window.
- “Add your IMAP account” page: the Back arrow (top left) doesn’t respond.
- “Connect an account” provider list: the Close “X” (top left) doesn’t respond.
I haven’t checked whether this affects all providers or only IMAP. I only noticed it on the two screens above. [Fill in: account/provider tried, and whether this is the first-run window or Preferences → Accounts → Add]
To Reproduce
Steps to reproduce the behavior:
- Open Add Account [fill in exact entry point]
- On the provider list, click the “X” at the top left. Nothing happens.
- Choose IMAP. On “Add your IMAP account”, click the Back arrow at the top left. Nothing happens.
Expected Behavior
Back returns to the previous step. Close closes the window.
Screenshots
[Attach both: IMAP page with Back arrow; provider list with Close “X”]
Setup
- OS and Version: macOS [fill in exact version]
- Installation Method: [DMG / Homebrew / other]
- Mailspring Version: [fill in exact version, not “latest”]
Additional Context
Nothing below is verified, since I haven’t run a debug build. It comes from reading the 1.26.0 source.
- Both buttons are rendered in
app/internal_packages/onboarding/lib/page-top-bar.tsx. The click handlers (moveToPreviousPage,AppEnv.close()/AppEnv.quit()) look correct on a read-through. - The buttons are children of a container with
-webkit-app-region: drag, and I found nono-dragoverride for.closeor.backinonboarding/styles/onboarding.less. My assumption is that macOS swallows clicks in drag regions. By my geometry this is doubtful as the sole cause. The drag bar starts at x=26pt, the Close icon sits at about x=6–21pt, and the Back arrow overlaps the bar only at its top edge. - The 1.26.0 changelog lists “On macOS, fixed the window not being draggable beneath the window controls”. I don’t know whether it’s related.
Open questions:
- Is this a regression? Did it work in an earlier version?
- Does it happen on a fresh launch, or only after some earlier action?
- Do Cmd+W, Esc or Cmd+Q close the window?
- Does Developer → Toggle Developer Tools show console errors when clicking?
- Does it happen when adding a brand-new account, or only in the edit/re-connect flow?
- Does it affect other providers (Gmail, Office 365)?