Skip to content

fix: resolve export dialog doing nothing on macOS Tahoe - #656

Merged
datlechin merged 2 commits into
mainfrom
fix/export-dialog-macos-tahoe
Apr 10, 2026
Merged

datlechin merged 2 commits into
mainfrom
fix/export-dialog-macos-tahoe

Conversation

@datlechin

Copy link
Copy Markdown
Member

Summary

  • Fix export/import save panel not appearing on macOS Tahoe — beginSheetModal(for:) silently fails when the target window already has a sheet (the dialog itself). Replaced with runModal() which shows a standalone modal dialog.
  • Fix export dialog using stale connection.database instead of the session's current database after user switches databases via the database switcher.
  • Populate export dialog table list instantly from sidebar tables (no network round-trip), then refresh with full database list in background.

Closes #654

Test plan

  • Open a MySQL connection, press Shift+Cmd+E, select tables, click Export — verify NSSavePanel appears
  • Switch database via database switcher, then export — verify correct database tables are shown and pre-selected
  • Select tables in sidebar, right-click → Export — verify selected tables are checked in the dialog
  • Verify export dialog table list appears instantly (no loading delay for current database)
  • Test import dialog file browser also works (same runModal() fix)

@datlechin
datlechin merged commit 6915080 into main Apr 10, 2026
2 checks passed
@datlechin
datlechin deleted the fix/export-dialog-macos-tahoe branch April 10, 2026 01:59
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.

Export functionality is not working

1 participant