-
Notifications
You must be signed in to change notification settings - Fork 17
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
Big Sur opening the links from another app in background #18
Comments
Thanks for reporting this, @cikakosta. Presumably, you are referring to Reeder 5, the news reader app? Unfortunately, it is a paid software. To be able to reproduce this behaviour, is it happening with any other software that is free? |
Hey @cmeury , thanks for the reply. Here is my case: However, opening links in background from Mail can also be achieved by holding Command key and clicking on the link (try it yourself without having Objektiv as your default browser and it will work regardless if its firefox, safari, brave etc as your default browser. The difference between Mail app and Reeder is that in reeder you can set dedicated shortcut to open in background, but in Mail app you have to hold cmd key and then open. I hope this helps 👍 |
@cikakosta Thanks for elaborating. I just tested this on Big Sur 11.0.1, when I set Chrome as my default browser in System Preferences, ⌘-click in Mail.app will open in a new tab but bring Chrome to the foreground. Personally, I never opened link this way, so I don't know if that has changed from previous versions in general? What I'm trying to say is: Is this a general issue of Big Sur, and not Objektiv? |
I dont remember if this was in previous systems or not frankly. But opening in background should work the same way regardless if you set your default browser in: Also, I have attached video, just to make it more precise (as its possible that one of us is missing something :) ) |
Interesting, I tried it out with Firefox, and it indeed is reproducible there. But I cannot get links to open in the background when selecting Chrome as the default browser. I guess this is implemented on the browser side, and Objektiv does not currently forward the intention properly. Thanks for filing this bug report. @Vorror You wouldn't have an idea how this could be fixed? |
@cmeury You are welcome! :) Thanks for looking at it 👍 |
@cmeury Hmm, maybe there's a flag not being set or there's a different flag for Big Sur. The nsworkspace API we're using didn't seem to attempt to detect whether or not we should open the targeted browser in the background. |
That makes sense. nsworkspace seems to be deprecated, maybe that's part of the story. I tried to have a look in the code, but as a complete beginner in any coding targeting Apple products, I'm quite at a loss. If anyone else would like to jump in, please do so, I don't know when I'll be able to learn the frameworks and language. |
Steps to reproduce
Actual
Expected
The text was updated successfully, but these errors were encountered: