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

Display correct window restoration instructions for macOS 14 #500

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ed-flanagan
Copy link
Sponsor

TL;DR: I believe the "Window Restoration" help window has the outdated text for macOS 14, but not macOS 13.


I don't have much (any) experience with Objective-C or Apple app dev, so apologies ahead of time if I'm way off base with anything:

I noticed on my Mac Book (macOS 14.3 (I know I need to update)) that the "Window Restoration Disabled" help window references System Preferences > General > .... Which, based on conditional, should be Desktop & Dock for macOS >= 13.

I'm guessing f5617a1#diff-3a2c028b85d15b2ff41c606edba92e67d8e1fd252936a12ee185ed859005c809R779 was "reverted" since the message was incorrect for macOS 13, after the change to 14.

So I'm further guessing @available(macOS 13, *) behaves more like ver < 14 && ver >= 13.0.0 or ver ~> 13.0 instead of just ver >= 13.0.0 or ver ~> 13.

So I just extended the conditional to include macOS 14, to see if that fixes it.

I haven't tried building it myself yet, so sorry for submitting before testing, but hoping to try in the next morning when I have a moment. But figured on the off-chance the small change is correct, can at least post.

Screenshot 2024-05-02 at 11 34 56 PM

Screenshot 2024-05-02 at 11 44 25 PM

TL;DR: I believe the "Window Restoration" help window has the outdated text for macOS 14, but not macOS 13.

---

I don't have much (any) experience with Objective-C or Apple app dev, so apologies ahead of time if I'm way off base with anything:

I noticed on my Mac Book (macOS 14.3 (I know I need to update)) that the "Window Restoration Disabled" window references `System Preferences > General > ...`. Which, based on conditional, should be `Desktop & Dock` for macOS `>=13`.

I'm guessing gnachman@f5617a1#diff-3a2c028b85d15b2ff41c606edba92e67d8e1fd252936a12ee185ed859005c809R779 was "reverted" since the message was incorrect for macOS 13, after the change to 14. 

So I'm further guessing `@available(macOS 13, *)` behaves more like `ver < 14 && ver >= 13.0.0` or `ver ~> 13.0` instead of just `ver >= 13.0.0` or `ver ~> 13`. 

So I just extended the conditional to `macOS 14` to see if that fixes it.

I haven't tried building it myself yet, so sorry for submitting before testing, but hoping to try in the next morning when I have a moment.
@gnachman
Copy link
Owner

gnachman commented May 6, 2024

The existing code handles any version of macOS greater than or equal to 13, so 14 is already included. Are you sure you were testing the latest version of the code when you saw the outdated message?

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.

2 participants