Not able to enable Safari app extension (macOS 10.15.3)

We have a macOS app in which we integrated the Safari app extension. When we install the app in macOS 10.15.3 (Safari version 13.0.5), the extension gets installed in safari but having disabled by default. When we try to enable it, its checkbox doesn't respond.


- Tried to install another safari app extension (from AppStore) the same behavior is seen.

- Tries on macOS 10.14.6 with safari version 13.0.5 there was no issue found.

By quitting a APP named Tuck, which docks windows to my screen edges, I was able to enable extensions again.
Great workaround from Masterdutsu, the problem was still there for me in OS X Catalina 10.15.5, but could be fixed (enabling the LastPass Safari Extension successfully) by first booting into Safe Mode with the Shift key. Hooray!
I am still seeing this on a Mac mini on 10.15.5. All of the workarounds mentioned here and elsewehre (disabling and re-enabling extensions; close all windows, move dialog to center of screen, to edges to screen; re-boot to Safe Mode with Shift; and any combination thereof ...) do not work for me. I even did a fresh install on a spare disk and the bug is still there. This is just hilarious.

Isn't there a way to hack the extension to be enabled by editing some configuration file and/or using a Terminal command?
Under Catalina, I'm seeing this message in my Console when I try to enable an extension:


default 13:15:51.894123+0200 Safari Window is occluded, cannot enable extensions



The "Window is occluded" message I saw in the Console, led me to close any apps that use overlays on screen, such as software brightness apps (QuickShade, Nocturnal), night mode type apps (Flux, Nocturnal), rounded corner adder apps (Displaperture).

Quitting / killing those apps (or not starting them) had resolved the issue for me, and allowed me to enable Safari Extensions again.
The Extensions tab of Safari preferences is an absolute clown show. In previous versions of macOS, there have been bugs where it is possible to enable an extension via the keyboard, but the mouse does not work. (See apple dot stackexchange dot com question 214760, because these forums won't allow me to include a link.)

Now the "solution" to this problem on Catalina is to "Make sure that your extension preferences pane is frontmost in the middle of your screen with no other windows covering any of it."

This is ridiculous. Can someone from Apple please explain why it is necessary to have a bunch of hacks that *do not work* in the Safari extension preferences? What exactly is being defended against here, and how is it worth these bizarre bugs that cause our customers to just assume that Safari and our extensions are broken?

Can someone from Apple please explain

It’s unlikely that anyone from Safari Land™ has seen this thread because its tags are way off (because it was migrated from the old DevForums). My advice here is that you start a new thread, making sure to:
  • Include the bug numbers you’ve filed about this

  • Tag it with Safari Extensions

Feel free to post a link to your new thread here so that folks can continue to follow the discussion.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Not able to enable Safari app extension (macOS 10.15.3)
 
 
Q