-
Notifications
You must be signed in to change notification settings - Fork 588
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
hs.application
constructors returning duplicate objects
#2720
Comments
If others are experiencing issues, a temporary workaround for determining the front most application would be to compare bundleIDs:
|
+1, on Big Sur 11.2.1: Version 0.9.82 (5614)
Version 0.9.83 (5819)
|
I can confirm the bug also on MacOS 10.14.6. All tests from @joshkaplan and @ash14 have the same results. |
I rewrote isFrontmost() for 0.9.83 to try and make it more reliable. It seems like I missed something. Thanks for the reports, I'll investigate and probably push out a 0.9.84 quickly to at least revert it. |
my apologies, opened a similar issue: #2721 |
So just to give a bit of background here, the
The issue here is that I'm reverting that patch in #2723 and I'll release a 0.9.84 brownbag later today. |
All
hs.application
constructors seem to be returning duplicate objects. I've testedhs.application.get()
andhs.window.focusedWindow():application()
.I have also noticed that
hs.application.isFrontmost
now always returns returnsfalse
. I suspect the two are related?The text was updated successfully, but these errors were encountered: