http://bugs.winehq.org/show_bug.cgi?id=27436
Summary: wine firefox cannot load any plugin Product: Wine Version: 1.3.21 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: fracting@gmail.com
Created an attachment (id=35089) --> (http://bugs.winehq.org/attachment.cgi?id=35089) Log: failed to load plugin
1. install firefox using winetricks
2. copy the plugin file to "Program Files\Mozilla Firefox\plugins" for example, a plugin can be downloaded here: http://www.codeproject.com/KB/cross-platform/NPAPIBrowserPlugin.aspx $ cp npcodeproject.dll "Program Files\Mozilla Firefox\plugins"
3. open a html page, try to load the plugin. $ wine firefox.exe Codeproject.html (The test html file also can be download from http://www.codeproject.com/KB/cross-platform/NPAPIBrowserPlugin.aspx ) such a message is showed in console: fixme:system:SetProcessDPIAware stub!
firefox stops for a while, then display the html page without loading the plugin.
http://bugs.winehq.org/show_bug.cgi?id=27436
fracting fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase URL| |http://www.codeproject.com/ | |KB/cross-platform/NPAPIBrow | |serPlugin.aspx
http://bugs.winehq.org/show_bug.cgi?id=27436
--- Comment #1 from fracting fracting@gmail.com 2011-06-09 18:57:48 CDT --- source code of npcodeproject.dll is available on http://www.codeproject.com/KB/cross-platform/NPAPIBrowserPlugin.aspx
http://bugs.winehq.org/show_bug.cgi?id=27436
fracting fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Platform|x86 |x86-64
http://bugs.winehq.org/show_bug.cgi?id=27436
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #2 from Dan Kegel dank@kegel.com 2011-06-09 20:53:34 CDT --- Did you copy the plugin to the right wineprefix?
"winetricks firefox" installs it to ~/.local/share/wineprefixes/firefox/drive_c/...
"winetricks --no-isolate firefox" is the command needed to install it into the default wineprefix.
Also, your cp commands used backslashes, are you sure you got that right?
http://bugs.winehq.org/show_bug.cgi?id=27436
--- Comment #3 from fracting fracting@gmail.com 2011-06-10 01:50:20 CDT --- (In reply to comment #2)
Did you copy the plugin to the right wineprefix?
Yes, I start winetricks, select the firefox wineprefix, then execute "Run a command line shell(for debugging)", then cd to $WINEPREFIX/ .
"winetricks firefox" installs it to ~/.local/share/wineprefixes/firefox/drive_c/...
"winetricks --no-isolate firefox" is the command needed to install it into the default wineprefix.
Also, your cp commands used backslashes, are you sure you got that right?
Yes,I'm sure. I can see the plugin in the "about:plugins" page after copy the plugin the the "plugins" directory.
http://bugs.winehq.org/show_bug.cgi?id=27436
--- Comment #4 from fracting fracting@gmail.com 2011-06-10 02:11:19 CDT ---
$ cp npcodeproject.dll "Program Files\Mozilla Firefox\plugins"
Sorry,typo.
$ ls npapi-file-io-32.dll npcodeproject.dll npUPEditor.dll simplehttp.dll
$ pwd /home/fracting/.local/share/wineprefixes/firefox/drive_c/Program Files/Mozilla Firefox/plugins
http://bugs.winehq.org/show_bug.cgi?id=27436
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
--- Comment #5 from André H. nerv@dawncrow.de 2011-06-29 15:24:05 CDT --- maybe a dup of Bug 17273
could you try a WINEDEBUG=warn+sync
http://bugs.winehq.org/show_bug.cgi?id=27436
--- Comment #6 from fracting fracting@gmail.com 2011-06-30 10:11:37 CDT --- Created an attachment (id=35374) --> (http://bugs.winehq.org/attachment.cgi?id=35374) LOG: warn+sync trace
http://bugs.winehq.org/show_bug.cgi?id=27436
--- Comment #7 from Dan Kegel dank@kegel.com 2011-06-30 12:44:52 CDT --- This probably affects firefox 3.6 and later. plugins work in firefox 3.5.
http://bugs.winehq.org/show_bug.cgi?id=27436
--- Comment #8 from André H. nerv@dawncrow.de 2011-06-30 14:51:29 CDT --- Yeah, there are some SetNamedPipeHandleState, so it might be a dup can someone else check?
http://bugs.winehq.org/show_bug.cgi?id=27436
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #9 from Rosanne DiMesio dimesio@earthlink.net 2011-07-03 14:32:09 CDT --- The sample plugin linked to in the description works fine in Firefox 3.5.12, doesn't work in Firefox 5. The workaround for bug 17273 enables it to work in Firefox 5.
Marking duplicate.
*** This bug has been marked as a duplicate of bug 17273 ***
http://bugs.winehq.org/show_bug.cgi?id=27436
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #10 from Austin English austinenglish@gmail.com 2011-07-07 16:15:27 CDT --- Closing.