GNOME Bugzilla – Bug 672192
Support the Opera Web Browser
Last modified: 2012-05-29 22:57:34 UTC
I am using Opera 11.61 and I can not use the gnome shell extensions website. I realize the web browser is proprietary but I hope this can be fixed. If I run opera from terminal and go the website, I get no output. If I click an extension I do not get the on and off switch.
What version of GNOME Shell are you using?
gnome-shell 3.3.90
Fixed in git.
Did this fix make it into gnome 3.4, because if so, it is still not working for me. GNOME Shell 3.4.1, Opera 11.64. The plugin is definitely enabled.
It should have. Is there anything in ~/.xsession-errors, or if you start Opera from the command line?
Created attachment 214021 [details] opera screenshot gnome extensions website
Open up the JS console and enter "window.SweetTooth.apiVersion". What does it say?
Not sure I went to the right console. I went to opera dragon fly and clicked console and entered it. Unhandled error: cannot convert 'window.SweetTooth' to object
Oh boy. What does "window.SweetTooth" print out? null? undefined? Make sure that you're on the extensions page when you go to the console.
<embed type="application/x-gnome-shell-integration" style="position: absolute; left: -1000em; top: -1000em"/>
OK, I went and grabbed the latest copy of Opera. I had grabbed whatever copy I had before, and it was fixed, and now it's broken with the new one. Considering Opera never calls our NP_Initialize function (even though it calls NP_GetValue/NP_GetMIMEDescription) it looks like this is an Opera bug. I'm trying to reach the developers on IRC right now.
Created attachment 214036 [details] [review] browser-plugin: Fix Opera support Opera now tries to call NP_SetWindow without trying to check if it's a NULL pointer or not. This is the browser-plugin fix. Unfortunately, the website still has issues because we try to insert the plugin before the DOM has loaded. It's not easy to fix nicely quite yet, but I'm working on it.
Review of attachment 214036 [details] [review]: Looks fine, not sure whether Opera's behavior is correct or not but this fix shouldn't hurt.
Attachment 214036 [details] pushed as 5e4edac - browser-plugin: Fix Opera support Yeah, I talked to the Opera team, and they said they're not going to change it.