Closed Bug 512378 Opened 12 years ago Closed 10 years ago

Port |Bug 506985 - remove java-specific preferences from Firefox UI, hidden prefs| to SeaMonkey 2.1

Categories

(SeaMonkey :: Preferences, defect)

defect
Not set
trivial

Tracking

(seamonkey2.1 wontfix, seamonkey2.2 affected, seamonkey2.3 fixed, seamonkey2.4 fixed)

RESOLVED FIXED
seamonkey2.5
Tracking Status
seamonkey2.1 --- wontfix
seamonkey2.2 --- affected
seamonkey2.3 --- fixed
seamonkey2.4 --- fixed

People

(Reporter: sgautherie, Assigned: ewong)

References

()

Details

(Keywords: useless-UI)

Attachments

(1 file, 2 obsolete files)

Remove obsolete preference (code).
Flags: in-testsuite-
This can wait until c-c branches.
No longer blocks: CcMcBuildIssues
Depends on: CcMcBuildIssues
Target Milestone: --- → Future
Depends on: 521624
No longer depends on: CcMcBuildIssues
Depends on: 535594
Target Milestone: Future → ---
Serge, 2.1 has been released.  Which branch should this be ported for?
Summary:

*SeaMonkey skipped *-1.9.2.
*SeaMonkey 2.1 has been released: marking as WontFix there.
*SeaMonkey 2.2+ still want this, unless branch is already code frozen.

Remember to remove the 2 strings in non string frozen branches too:
http://mxr.mozilla.org/comm-central/search?string=enbJavaCheck.&case=1&find=%2Fsuite%2F
Keywords: useless-UI
Whiteboard: [good first bug]
2.2 is string frozen
2.3 will be in the next week or so once 2.2 comes out
Assignee: nobody → ewong
Status: NEW → ASSIGNED
Attachment #544990 - Flags: review? → review?(iann_bugzilla)
Comment on attachment 544990 [details] [diff] [review]
Removed java-specific preferences from SeaMonkey UI and hidden prefs.

Review of attachment 544990 [details] [diff] [review]:
-----------------------------------------------------------------

Clean /suite/profile/migration/src/ns*ProfileMigrator.cpp up too.

::: suite/locales/en-US/chrome/common/pref/pref-advanced.dtd
@@ +1,5 @@
>  <!--LOCALIZATION NOTE : FILE 'Advanced' prefs settings -->
>  <!ENTITY pref.advanced.title        "Advanced">
>  
>  <!ENTITY prefEnableJava.caption     "Features that help interpret web pages">
>  

Remove lines 4-5 too.
Attachment #544990 - Flags: feedback-
Comment on attachment 544990 [details] [diff] [review]
Removed java-specific preferences from SeaMonkey UI and hidden prefs.

As Serge said, u missed a line from the .dtd file and there is also the profile migration files.
http://mxr.mozilla.org/comm-central/search?string=security\.enable_java&regexp=on&find=&findi=&filter=^[^\0]*%24&hitlimit=&tree=comm-central
Should be just a matter of deleting the two lines that mention security.enable_java
Any help need updating too?
Attachment #544990 - Flags: review?(iann_bugzilla) → review-
Attachment #544990 - Attachment is obsolete: true
Attachment #545039 - Flags: review?(iann_bugzilla)
Comment on attachment 545039 [details] [diff] [review]
Removed java-specific preferences from SeaMonkey UI and hidden prefs and help. (v2)

Maybe "<p>The main Advanced preferences panel allows you to ..." should be kept, but updated to something more generic (= up-to-date at least)?
Attachment #545039 - Flags: feedback+
Comment on attachment 545039 [details] [diff] [review]
Removed java-specific preferences from SeaMonkey UI and hidden prefs and help. (v2)

>   <li class="unix"><strong>Use Preferences from System</strong>: Select this to
>     use the already set system preferences, overriding &brandShortName;&apos;
>     ones.

I don't have Linux, so I wonder: is this other pref (un)related to Java?
Comment on attachment 545039 [details] [diff] [review]
Removed java-specific preferences from SeaMonkey UI and hidden prefs and help. (v2)

>+++ b/suite/locales/en-US/chrome/common/help/cs_nav_prefs_advanced.xhtml
>@@ -46,23 +46,17 @@
>-<p>The main Advanced preferences panel allows you to enable or disable
>-  Java:</p>
Leave this in but change to <p class="unix"> and remove the "enable or disable Java" bit so it now reads:
<p class="unix">The main Advanced preferences panel allows you to:</p>

r=me with that sorted.
Attachment #545039 - Flags: review?(iann_bugzilla) → review+
Keywords: checkin-needed
Comment on attachment 545158 [details] [diff] [review]
Removed java-specific preferences from SeaMonkey UI and hidden prefs and help. (v3) [Checked in: Comment 13]

http://hg.mozilla.org/comm-central/rev/f7b16da534a1
Attachment #545158 - Attachment description: Removed java-specific preferences from SeaMonkey UI and hidden prefs and help. (v3) → Removed java-specific preferences from SeaMonkey UI and hidden prefs and help. (v3) [Checked in: Comment 13]
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Whiteboard: [good first bug]
Target Milestone: --- → seamonkey2.5
Is this worth a) relnoting b) landing non-l10n changes on branches?
Duplicate of this bug: 672665
(In reply to comment #14)
> Is this worth a) relnoting

Sure, done (for 2.2 only, see next point).

> b) landing non-l10n changes on branches?

Having useless UI just adds confusion, so I'd vote for copying all changes except the pref-advanced.dtd ones to branches (given that Help changes are allowed as long as no files are added/removed/renamed).
Keywords: relnote
This is not fixed in SM 2.2; the preference, albeit inoperative, is still present and checking the UI checkbox toggles it between True and False. The result is a  security exposure; the naive user thinks Java is being Enabled and Disabled but the default Enabled cannot be changed using the preference, but only via the Add-ons Manager.
(In reply to comment #17)
> This is not fixed in SM 2.2

No-one said it was. The Target Milestone is currently SM 2.5 and it has been relnoted for SM 2.2 (granted, only yesterday, see comment 16). If it won't make SM 2.3 or SM 2.4, it will be relnoted for these, too.
Comment on attachment 545158 [details] [diff] [review]
Removed java-specific preferences from SeaMonkey UI and hidden prefs and help. (v3) [Checked in: Comment 13]

Requesting permission to land everything but the pref-advanced.dtd changes on Aurora and Beta.
Attachment #545158 - Flags: approval-comm-beta?
Attachment #545158 - Flags: approval-comm-aurora?
Comment on attachment 545158 [details] [diff] [review]
Removed java-specific preferences from SeaMonkey UI and hidden prefs and help. (v3) [Checked in: Comment 13]

a+ provided the .dtd does not land.
Attachment #545158 - Flags: approval-comm-beta?
Attachment #545158 - Flags: approval-comm-beta+
Attachment #545158 - Flags: approval-comm-aurora?
Attachment #545158 - Flags: approval-comm-aurora+
No idea how you guys handle this, but this did change the localizable help files.
(In reply to comment #22)
> No idea how you guys handle this, but this did change the localizable help
> files.

Our policy is that Help changes are allowed as long as no files are added/removed/renamed (see comment 16).
Target Milestone: seamonkey2.3 → seamonkey2.5
You need to log in before you can comment on or make changes to this bug.