Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix currently open filenames not syncing, #3159 #3435

Merged
merged 2 commits into from
Apr 23, 2022

Conversation

low-batt
Copy link
Contributor

Change MainWindowController.windowWillOpen to set the window's title to
"Window", the title a NSWindow has by default. If the title is not reset
when a window is reused then the wrong title will be displayed in the
"Window" menu.


Description:

@low-batt low-batt changed the title Fix currently open filenames not syncing, iina#3159 Fix currently open filenames not syncing, #3159 Jun 30, 2021
Change MainWindowController.windowWillOpen to set the window's title to
"Window", the title a NSWindow has by default. If the title is not reset
when a window is reused then the wrong title will be displayed in the
"Window" menu.
This problem is due to a defect in AppKit that has been fixed in macOS
Monterey. The commit changes the window controller to apply a
workaround of reseting the window's title in earlier versions of macOS.
If the title is not reset when a window is reused then the wrong title
will be displayed in the "Window" menu.

The commit will:
- Change MainWindowController.windowWillOpen to set the window's title
  to "Window", the title a NSWindow has by default
@lhc70000 lhc70000 merged commit d349899 into iina:develop Apr 23, 2022
lhc70000 pushed a commit that referenced this pull request Apr 24, 2022
* Fix currently open filenames not syncing, #3159

Change MainWindowController.windowWillOpen to set the window's title to
"Window", the title a NSWindow has by default. If the title is not reset
when a window is reused then the wrong title will be displayed in the
"Window" menu.

* Fix currently open filenames not syncing, #3159

This problem is due to a defect in AppKit that has been fixed in macOS
Monterey. The commit changes the window controller to apply a
workaround of reseting the window's title in earlier versions of macOS.
If the title is not reset when a window is reused then the wrong title
will be displayed in the "Window" menu.

The commit will:
- Change MainWindowController.windowWillOpen to set the window's title
  to "Window", the title a NSWindow has by default
@low-batt low-batt mentioned this pull request Feb 20, 2023
1 task
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.

None yet

2 participants