Bug 54443

Summary: "Tools - Options - Java" does not select best version
Product: LibreOffice Reporter: Stephan Bergmann <sbergman>
Component: LibreofficeAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: jmadero.dev
Version: unspecified   
Hardware: Other   
OS: All   
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=65765
Whiteboard:
i915 platform: i915 features:

Description Stephan Bergmann 2012-09-03 14:33:13 UTC
At least with recent LO master on Windows, with a fresh UserInstallation, "Tools - Options... - LibreOffice - Java - Java options - Java runtime environments (JRE) already installed" lists potentially multiple entries, but none is selected.

"Cancel", then "File - Wizards - Letter...", "Cancel", then "Tools - Options... - LibreOffice - Java": now (i.e., as soon as Java is actually used for the first time in LO) one entry is selected.

That is rather confusing.  It would be better to select the best Java when the options tab page is opened and no selection is made yet.  Relevant implementation is probably jfw_findAndSelectJRE.

(This cannot be observed on Linux, as soffice script calls javaldx -- which calls jfw_findAndSelectJRE if none has been selected yet -- before calling soffice.bin.)
Comment 1 Joel Madero 2013-06-27 16:58:23 UTC
Confirmed.

Windows 8
Version 4.1.0.1

New
Minor - wouldn't prevent work getting done but can slow it down
High - probably easy to fix, also if a user didn't know where to poke around could be quite annoying 

ProposedEasyHack

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.