Skip to content

fix: resolve tab close and a startup crash on macOS that occured#115

Merged
petertzy merged 1 commit intopetertzy:mainfrom
jonaebel:fix/tab-close-button
Mar 9, 2026
Merged

fix: resolve tab close and a startup crash on macOS that occured#115
petertzy merged 1 commit intopetertzy:mainfrom
jonaebel:fix/tab-close-button

Conversation

@jonaebel
Copy link
Contributor

@jonaebel jonaebel commented Mar 9, 2026

first trying to start the project via app.py

  • fix Clicking on a tab (not the "X") should not close the tab #108 tab body click triggering close by computing relative_x against the clicked tab's true left edge instead of the notebook origin (@ui.py line 727)

  • Fix app crash on startup by catching RuntimeError from tkinterdnd2 when the native tkdnd library fails to load on macOS (@app.py line 35)

first trying to start the project via app.py

- Fix tab body click triggering close by computing relative_x
  against the clicked tab's true left edge instead of the notebook
  origin (@ui.py line 727)

- Fix app crash on startup by catching RuntimeError from tkinterdnd2
  when the native tkdnd library fails to load on macOS (@app.py line 35)
@jonaebel jonaebel requested review from Xavi1 and petertzy as code owners March 9, 2026 05:59
@jonaebel jonaebel changed the title fix: resolve tab close and a startup crash on macOS that occured when fix: resolve tab close and a startup crash on macOS that occured Mar 9, 2026
@petertzy petertzy merged commit 802b262 into petertzy:main Mar 9, 2026
1 check passed
@jonaebel jonaebel deleted the fix/tab-close-button branch March 13, 2026 20:41
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.

Clicking on a tab (not the "X") should not close the tab

2 participants