Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@yingli-lab
Copy link
Contributor

Summary

On macOS 26, the red close button did not close the main Joplin window.
Users had to force quit the app. This PR fixes the issue.

Fix

  • Prevent default close event and properly hide the main window.
  • Handle fullscreen exit before hiding to ensure consistent behavior.

Testing

  • Verified on macOS 26 (Apple M2).
  • Confirmed that the red close button now hides the app window as expected.

Demo

Before: Clicking the red close button did not close the window (macOS 26).
After: The window now hides correctly when the red close button is clicked.

Demo.mp4

Fixes #13196

@github-actions
Copy link
Contributor

github-actions bot commented Sep 26, 2025

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@yingli-lab
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Sep 26, 2025
Comment on lines 69 to 76
private updaterService_: AutoUpdaterService = null;
private customProtocolHandler_: CustomProtocolHandler = null;
private updatePollInterval_: ReturnType<typeof setTimeout>|null = null;
private updatePollInterval_: ReturnType<typeof setTimeout> | null = null;

private profileLocker_: FileLocker|null = null;
private ipcServer_: IpcServer|null = null;
private profileLocker_: FileLocker | null = null;
private ipcServer_: IpcServer | null = null;
private ipcStartPort_ = 2658;

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove all the white space changes

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I’ve removed the whitespace changes. Please let me know if anything else needs adjustment.

@laurent22 laurent22 merged commit b68cfd6 into laurent22:dev Sep 30, 2025
11 checks passed
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.

MacOS 26 RC Joplin not closing

2 participants