Skip to content
This repository has been archived by the owner on Jul 23, 2022. It is now read-only.

Support macOS 10.11 for Safari 11 extension #325

Closed
jawsoftware opened this issue Oct 10, 2019 · 19 comments
Closed

Support macOS 10.11 for Safari 11 extension #325

jawsoftware opened this issue Oct 10, 2019 · 19 comments

Comments

@jawsoftware
Copy link

(Sorry, I don't know if there is another method to reopen an erroneously closed issue)

El Capitan 10.11.6, Safari 11.1.2, Bitwarden 1.16.6
The Bitwarden Safari app extension doesn't work; the icon is shown on the Safari toolbar, but clicking on it does absolutely nothing (apart visual feedback of click).

kspearrin commented Oct 3, 2019
I'm not sure Safari app extensions would work with El Capitan. Do you use other Safari App Extensions installed from the Mac App Store?

(at this point the issue was closed as I replied too late)

jawsoftware commented Oct 7, 2019
I can confirm that Safari App Extensions do work on Safari 11. I just tried installing Keep Everything from the Mac App Store and it is fully functional.
I didn't found the standard .safariext on site, so I checked in the application bundle and found the app extension; double-clicking on it installed it on Safari (it is present in Safari Preferences and it appears in the Safari toolbar (so I deduce Safari app extensions are supported by Safari 11.1.2), but clicking on the icon in the toolbar doesn't show any menu.
As an alternative, is there any chance to download the classic .safariext for this version of Safari? I know you did it, but I cannot find it.

@kspearrin kspearrin changed the title Safari 11 extension Support macOS 10.11 for Safari 11 extension Oct 11, 2019
@kspearrin
Copy link
Member

Once we get the desktop working correctly in the app store I will circle back and see if we can get support for macOS 10.11 and up.

@jawsoftware
Copy link
Author

Ok. thanks.
The desktop app downloaded from site does work well, btw (except for the extension).

@kspearrin
Copy link
Member

Can you try this dev build and see if it works? https://cdn.bitwarden.net/misc/Bitwarden-1.16.11.dmg

@jimwins
Copy link

jimwins commented Oct 17, 2019

The Safari extension shows up with the dev build, but does not work. The Command-\ shortcut doesn't do anything, nor does the toolbar button.

(Less important is that the icon on the toolbar button appears to be mis-positioned/sized.)
Screen Shot 2019-10-17 at 11 09 24 AM

@kspearrin
Copy link
Member

@jimwins This is on macOS 10.11?

@jimwins
Copy link

jimwins commented Oct 17, 2019

Yes, macOS 10.11.6, Safari 11.1.2

@kspearrin
Copy link
Member

Can you see if there are any crash logs generated?

Have a look in ~/Library/Logs/DiagnosticReports. To show the Library folder in Finder hit command+J and tick the box with the label that says Show Library Folder. Or use the Terminal to navigate there. The name of the Bitwarden app extension is called "safari", so look for any reports listed like safari_{DATE}_{DEVICE}.crash

@jimwins
Copy link

jimwins commented Oct 17, 2019

No crash logs. If I follow what happens when pressing Command-\ in the debugger, it shows that safari.extensions.dispatchMessage('bitwarden', msg) is getting called but nothing happens. The debugging just says it is returning undefined. (Not sure how to see what, if anything, is happening when the toolbar button is pressed.)

@kspearrin
Copy link
Member

I am not sure I will be able to figure out what is going on here without being able to debug the safari extension on 10.11, which I don't have. Do you happen to have X-Code and know how to use it?

@jimwins
Copy link

jimwins commented Oct 17, 2019

I'll have to install Xcode on this machine and would only call myself minimally competent at using it, but I can dig in.

@kspearrin
Copy link
Member

You can hop in our dev chat here and I can try to help walk you through the steps to debug:
https://gitter.im/bitwarden/Lobby

@jimwins
Copy link

jimwins commented Oct 17, 2019

Sure, but it may take a few days before I've had time to get Xcode downloaded and get back to this.

@jawsoftware
Copy link
Author

I confirm that dev build behaves the same: the bw icon is shown in Safari, and clicking on it does nothing.
I have XCode installed if it can help.

@kspearrin
Copy link
Member

@jawsoftware Can you pull the browser repo and try to open and build the xcode project in https://github.com/bitwarden/browser/tree/master/src/safari

@jawsoftware
Copy link
Author

Uhm, I downloaded the zip file, but cannot open in XCode: "incompatible project version." (My XCode version on 10.11 is 8.2.1.

@kspearrin
Copy link
Member

Hmm, yea, that makes sense. I don't think you can do dev work on newer project formats.

Honestly, I am not sure what we can do to troubleshoot further at this point.

@2pockets
Copy link

It would be interesting to find out the oldest OS that the extension works with.
Has anyone tried it on: Sierra/10.12.6, High Sierra/10.13.6, or Mojave/10.14.6?

@Hinton
Copy link
Member

Hinton commented Dec 10, 2021

Closing this issue since we've had a proper release in the App Store for a while with a Safari extension for 14+.

@Hinton Hinton closed this as completed Dec 10, 2021
@2pockets
Copy link

2pockets commented Dec 10, 2021 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants