Bug 979985
Summary: | Firefox is poinitng to proprietary java plugin under opensoure OSes | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | jiri vanek <jvanek> | ||||
Component: | firefox | Assignee: | Martin Stransky <stransky> | ||||
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | rawhide | CC: | collura, dbhole, gecko-bugs-nobody, jvanek, stransky | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-07-19 20:19:39 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
jiri vanek
2013-07-01 09:20:33 UTC
Can you provide us a reproduction steps? Try to lunch some newer firefox on system without java (read java plugin == oracle plugin, icedtea-web or ibm plugin) When page with applet is then hit then firefox offer to downlaod proprietary java. Imho this is wrong both on fedora and rhel. yum install icedtea-web should be always the solution. Actually Firefox 22 points to: https://support.mozilla.org/en-US/kb/use-java-plugin-to-view-interactive-content http://www.mozilla.org/en-US/plugincheck/ It we want to fix it we need to implement our own plugin check service in Firefox. Tahts wrong to. Cant' you just patch the output message? Main reason why it si wrong is this on page you linked: "Installing or updating Java See Java Plugin Install for Linux at oracle.com for help installing or updating Java on your Linux system. " Clicking to "Java Plugin Install for Linux" leads to http://www.oracle.com/technetwork/java/javase/manual-plugin-install-linux-136395.html which is most evil of all. Users of fedora should see yum install/update java-1.7.0-openjdk+icedtea-web Which text would you like to change? On the mozilla webpage or some in Firefox? (I'm not sure which one). I'm afraid there isn't a simple solution for that. The much better solutions is a cooperation with PackageKit which will install the missing plugin. Both will be best:) I find the one in firefox more important. But it is personal opinion. It is strange that the *text* in the window is so hard to fix. I would expect one line patch to some properties fiel would be enough for this. Yah, the cooperation with package is good idea. I'm not so familiar with it, but I can imagine that packagekit offering unwanted plugin on every page with applet willbe really annoying. Just note - if you are able to patch "ix it we need to implement our own plugin check service" then button, which will install icedtea-web and silently reload firefox, would be even better solution and will move firefox to another level of user-linux experience This bug appears to have been reported against 'rawhide' during the Fedora 20 development cycle. Changing version to '20'. More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora20 Any news on this? Feel free to submit your patches here, I'll uplift them upstream. It is starting to be quite unhappy still replying people that firefox is advising them wrongly, and that they should install package "icedtea-web" There is nothing to upstream, this is fedora/rhel rpm specific patch. And afaik one url to chnage inisde firefox. Created attachment 965098 [details] patch for this issue v1 --- mozilla-release/toolkit/mozapps/plugins/content/pluginInstallerWizard.js +++ mozilla-release/toolkit/mozapps/plugins/content/pluginInstallerWizard.js @@ -315,6 +315,11 @@ xpiPlugins); else this.advancePage(null); +} + + +function endsWith(str, suffix) { + return str.indexOf(suffix, str.length - suffix.length) !== -1; } /* @@ -405,6 +410,9 @@ // manual install if (aManualUrl) { + if (endsWith(aManualUrl, "use-java-plugin-to-view-interactive-content")) { + aManualUrl="http://icedtea.classpath.org/wiki/IcedTea-Web_On_Fedora_And_Rhel" + } var myButton = document.createElement("button"); var manualInstallLabel = this.getString("pluginInstallationSummary.manualInstall.label"); So here you have patch. Not perfect but works. Do you mind to include it to all live fedoras and do a build and update? If you dont, please make me commaintainer and I will push on my own. Just note, the url is nowhere written, but comes wia web service. So ny negotiations with upstream are more then worthy. (Actually later probably necessary) Thanks for the patch, I'll propagate it upstream and/or add to our package. I feel that the aManualUrl should be a prefenced value (not a hadcoded one) but it does not mattech much now. Added to firefox-34.0-4. New Firefox 35.0 does not ship the patched file - it may or may not be affected by this bug. Thanx for including patch. Considering that 34.0.4 never went to updates. Yah. Cool. Also thanx for any attempts to upstream the patch(? :-/). Do you gave any records of your attempts? Yes in firefox 35, it only writes "plugin is needed to display this context" The removal of plugin finder is is intentional change, however i have not found official statement about it. So the fix of this screen for java-plugin is the next step. As you can see the NPAPI plugins are going to be removed from Firefox, which includes also the Java plugin so upstream is not going to accept any of those changes. Are going to be what? If mozzila will remove NPAPI, then we have much more terrible issues to deal with. Where is the source of this Information? Try Google. Some of the links: http://www.sitepoint.com/google-mozilla-begin-browser-plugin-prohibition https://github.com/shotgunsoftware/browser-plugin/issues/13 http://blog.chromium.org/2013/09/saying-goodbye-to-our-old-friend-npapi.html Anyway, NPAPI is not going to be removed just tomorrow, rather it's going to be dying slowly. It's a legacy technology now with lots of issues and flash is the only reason why Mozilla supports that. But situation may change when project Shumway replaces flash in Mozilla. So, NPAPI is just a zombie of former century. Any installation fixes may be done on Fedora side as I suggested in comment 6. Although I agree that npapi is zombie, I hope it will be supported at least for few years. I really would like to see mozzila's official statement - as they proclaimed (a year ago?) That they will never ever drop NPAPI. None of those afrom C#22 is official statement. Fact that google is cutting it down is known. I just hope the rest of world will use free will, and not just follow what they dictate. I will look into f35 missing-plugin screen soon. This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22 Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |