Issue 108195

Summary: A lot of error messages in Picture->Macro (Java disabled)
Product: Writer Reporter: pokusn <michaltrutman>
Component: formattingAssignee: writerneedsconfirm <swneedsconfirm>
Status: CLOSED DUPLICATE QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P4 CC: issues, olaf-openoffice
Version: OOo 3.1.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description pokusn 2010-01-10 09:59:34 UTC
I have inserted and selected picture in OO Writer. I open Picture dialog
(menu->format->picture) and select he tab Macro. The I will get a lot of
(exactly 16) error messages with title "Required JRE" and text "OO.org requires
Java runtime environment. Please install JRE and run OO again."

I have not installed Java, so error message is right at this place. But I expect
only one error message, not 16!

Whem I go to options->Java and uncheck "Use Java runtime environment" and then
again do the same with the picture, I get a lot of simillar error messages: "JRE
is not enabled. Do you want to enable it?"
Comment 1 eric.savary 2010-01-10 10:29:35 UTC
@JSK: similar to issue 80878.
- Tools - Options - Java - Use a Java Runtime environnement -> OFF
- In Writer
- Insert a picture
- go to Format - Picture - Macro
-> you get 16 Warnings about missing Java.
As the dialog contains "Enable Java Now [Yes][No][Cancel]" one can expect one of
the button [No] or [Cancel] to act like "never ask again".

Hence: need a redesign of the warning.

In a perfect world...: every function requiring Java while Java has been
disabled using "never ask again" should be disabled itself (grayed out) and show
a warning (tooltip) telling the user how to enable this function again.

As this is a general mis-behavior of the Java warning (ex.: same question again
and again on File - Wizard -...) I set OF on CC.
Comment 2 hans_werner67 2011-03-28 11:56:55 UTC
Assign to new default-assignee
Comment 3 michael.ruess 2011-03-31 11:35:06 UTC

*** This issue has been marked as a duplicate of issue 55977 ***