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
Fixed #1091 by reverting 7f0f89 #1180
Conversation
Thanks a lot Jonny for your analysis of the problem for #1091! I unfortunately don't have time to test it now, but hopefully someone else in the community can. If this indeed fixes the issue and doesn't reintroduce the bug mentioned in #527 I'm fine with it -- getting ride of a ugly workaround is always good. It would be interesting to test the behaviour on an older versions of the operating system though. Alternatively, maybe the issue is with the implementation of |
From the docs: "Typically you should use validateUserInterfaceItem: instead of validateMenuItem: because the former will also work for toolbar items which have the same target and action." I guess at this point it needs testing on other OS versions, as I've only tested on 10.12. If this causes regression on some versions then I'll test using validateUserInterfaceItem instead |
@mantognini / @JonnyPtn Do you think we should go ahead with this and if there are reports that it broke something else, we can revisit it again? I rather have something fixed in the OS X's current version, than stalling due to a potential issue in some older OS X version. |
It certainly seems to address the issue here, but it might be worth confirming it works on another machine before going ahead, just in case For anyone else who can test, essentially just need to verify that you can use the window menu as well as the keyboard shortcut (cmd+Q) to quit the program |
Please ping me by the end of next week if I forgot -- I should be able to give this a shot. |
So I've tested this, but unfortunately it reintroduces #527. :-/ You said you couldn't reproduce it? I don't have the latest OS version (will upgrade to macOS 10.12 soon probably). Maybe, although unlikely, Apple did change something with its latest one. Here's how I've tested your PR:
Note: lines 428 to 485 can comment out to get a less verbose log. (*) if regular dylibs or frameworks are used instead, the Xcode project of SFML-Test-Events needs to be updated to reflect this change; see instructions here. The good news is that I've managed to fix Pinging @thedeadc0der as well since you reported #1091. |
Given the positive feedback on #1193 I'm closing this PR. Although your work was not merged I highly appreciate the fact you've found which commit was at fault, so thanks again! 👍 |
Very confusing, I can't for the life of me work out why it doesn't regress on my machine... Glad it's fixed anyway! |
This reverts commit 7f0f89b.
Assuming this commit was meant to address #527, I can't reproduce any of the original symptoms on 10.12.2 with it reverted