Closed Bug 41334 Opened 24 years ago Closed 24 years ago

'Download Java' alert message only displayed one time, not once per session.

Categories

(Core Graveyard :: Plug-ins, enhancement, P3)

x86
Other
enhancement

Tracking

(Not tracked)

VERIFIED INVALID
Future

People

(Reporter: edburns, Assigned: serhunt)

References

()

Details

Attachments

(1 file)

Home built MOZ_DEBUG=1 mozilla from mozilla code on 01 June 2000.

0. Install the npnul32.dll plugin in your mozilla plugins directory.

0.5. Disable Javascript by adding this line to prefs.js:

user_pref("javascript.enabled", false);

0.6 start .\mozilla

1. Visit the above URL, or download the attachment and view the file locally.

2. Note that the "You don't have this plugin" dialog pops up.

2.5 Press "Cancel" in the dialog.

3. Close mozilla.

4. Start mozilla and revisit the same page.

5. Note that this time the "You don't have this plugin" dialog DOES NOT 
pop up.

6. Close mozilla

7. rename npnul32.dll to something else

8. Restart mozilla

9. Revisit the URL

10. Close Mozilla

11. rename the dll back to npnul32.dll

12. restart mozilla

13. Revisit the page

14. Note that the dialog comes up again.

I don't think this is correct behavior.
I think this bug should be as important as 17551.
Depends on: 17551
This is how it was designed in the first place, in 4.x world. We store mime 
types already met in the registry not to pop up this dialog when user returns to 
the page. Dialog only pops up on "new" for this installation mime type. As far 
as I remember it was done this way not to annoy a user who doesn't care about 
viewing content. The dialog can still be launched by clicking on the puzzle 
piece, when the user changes his mind.

All this behaviour sits inside the default plugin itself, and anybody who ships 
customized packages can just write a new plugin (it should only say "*" as a 
mime type to work as a default plugin) to replace npnul32.dll.
Adding Eric.
But there is no puzzle piece to click on!  
I see what is happening here. For some reason it does not draw itself when 
specified dimensions are less than a size of the puzzle piece icon. If you set 
height="60" it will show up.

Hm... Don't know how much of a bug this is.
I feel this height restriction is important, since many plugins, and many 
applets, are shaped like small buttons.
Our only goal is to match 4.x's behavior, not to exceed it. If this is how it 
worked on 4.x, please mark WONTFIX (or at most, FUTURE). Thanks!
This bug has been marked "future" because the original netscape engineer working 
on this is over-burdened. If you feel this is an error, that you or another 
known resource will be working on this bug,or if it blocks your work in some way 
-- please attach your concern to the bug for reconsideration. 
Target Milestone: --- → Future
on today's mozilla build (with the default plugin now in the mozilla tree) , I 
see the default plugin box embedded where the plugin is absent every time I 
visit the page (java.sun.com). Should this be closed?
The original talk was about the popup dialog box which appears automatically 
only when we experience the given mimr type first time. Next time you go to the 
page with the same mime type you need to click on the puzzle piece to call this 
dialog box. The described behaviour was designed as such, so to my opinion this 
bug is invalid. 

The point made by Ed Burns makes sense, so we probably need to resummarize the 
header to avoid confusion.
Status: NEW → ASSIGNED
My understanding was that the "You need a JVM" alert would be displayed the 
first time you hit a Java applet each session, and that the alert would have 
buttons like "Get JVM", "Remind Me Later", "Don't Show Me This Message Again" to 
provide user control. But I guess we understood the intended functionality 
differently.

The way it works now at least cues the user one time to download Java, and they 
see a puzzle piece to remind them thereafter as well. Andrei is very 
overburdened and shouldn't attempt to make further enhancements. If Sun has the 
resources to do an enhancement so that the alert is shown once per session (with 
the ability for the user to turn it off for good), we could seek PDT exception 
feature approval. However, PDT is likely to frown on further features at this 
point. 

Leaving FUTURE. Marking severity ENH. Changing Summary from "Default Plugin only 
displayed once." to "'Download Java' alert message only displayed one time, not 
once per session."
Severity: normal → enhancement
Summary: Default Plugin only displayed once. → 'Download Java' alert message only displayed one time, not once per session.
Doesn't this apply to all mime types, not just java?

I filed bug 52905 last week about the puzzle icon not showing up for short 
plugins, but it was marked invalid.
Ekrock is right.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
verfd
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: