Bug 63743 - JRE Selection box radio button confusing with only one entry
Summary: JRE Selection box radio button confusing with only one entry
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: low trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-19 21:50 UTC by Sandy Scott
Modified: 2018-09-27 06:37 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sandy Scott 2013-04-19 21:50:17 UTC
After Upgrading to 4.0.2 from 3.5.6, I recieved the "No JRE..." warning when opening a database from in a database that used the HSQL engine

When opening the relevant settings page, it is not obvious that the relevant JRE is NOT selected.  The isolated radio button looks more like a status icon of some kind when unselected.  I didn't expect to see a radio button with only one option, especially when that option is not selected.

This user clearly had the same problem:
http://forum.openoffice.org/en/forum/viewtopic.php?f=13&t=57069
Comment 1 Sandy Scott 2014-01-03 13:06:54 UTC
Same issue when upgrading from 4.0 series to 4.1 series
Comment 2 Alex Thurgood 2015-01-03 17:41:15 UTC Comment hidden (no-value)
Comment 3 QA Administrators 2016-01-17 20:04:55 UTC Comment hidden (obsolete)
Comment 4 Alex Thurgood 2016-01-19 13:54:57 UTC
Confirming also on

Version: 5.0.3.2
Build ID: e5f16313668ac592c1bfb310f4390624e3dbfb75
Locale : fr-FR (fr.UTF-8)

OSX 10.11.2

One would expect that if LO detects at least one JRE, then the first in the list should be selected by default. This doesn't happen and the user is obliged to click on the radio button to activate the selection.
Comment 5 Sandy Scott 2016-04-11 12:46:04 UTC
Confirmed during re-test on:

Version: 5.1.2.2
Build ID: d3bf12ecb743fc0d20e0be0c58ca359301eb705f
CPU Threads: 8; OS Version: Windows 6.1; UI Render: GL; 
Locale: en-GB (en_GB)

I still got the "No JRE" error when opening an HSQL database for the first time after installing LO.

The only thing that was different is that when I went to the JRE selection section of the preferences, the JRE did appear to be selected, I clicked on it and then closed the dialog and restarted LO, and the database then worked correctly.

I haven't been able to confirm whether this issue would have resolved itself without clicking the in JRE selection box, because the issue doesn't reappear after uninstalling then reinstalling LO.
Comment 6 QA Administrators 2017-05-22 13:26:46 UTC Comment hidden (obsolete)
Comment 7 Sandy Scott 2017-08-23 00:59:16 UTC
I haven't been able to reproduce this as I didn't realise I had the wrong version (32bit) of java installed for the version of LO I installed. One the right version was installed LO correctly picked it up with no interaction required.

As has been determined previously, the bug doesn't appear when reinstallig LO on a system that has previously had LO installed, so I haven't been able to confirm it.

There does appear to still be issues when no JRE is present.

After installing LO 64bit (with 32 bit java on my system), I attempted to create a new database with the default settings. This crashed LO when it attempted to open it. Subsequent attempts to open the file were successful, but produced the "No JRE" error when attempting to do anything with it.

Also, it would be useful if the preferences dialog was able to sniff for versions of java with the 'wrong' number of bits, to give a more helpful (or at least googleable) error message - a less experienced user is likely to be confused as to why LO thinks there is no JRE installed when he/she can clearly find one in their installed applications.
Comment 8 Buovjaga 2017-09-02 17:11:51 UTC
(In reply to Sandy Scott from comment #7)
> As has been determined previously, the bug doesn't appear when reinstallig
> LO on a system that has previously had LO installed, so I haven't been able
> to confirm it.

Well let's keep it NEW still.
Comment 9 QA Administrators 2018-09-03 02:43:20 UTC Comment hidden (obsolete)
Comment 10 Sandy Scott 2018-09-26 23:36:49 UTC
Appears to be fixed

Just tried on a clean install of windows 10.

Java 8 Update 181 (64 bit) installed first.

Then installed LO Version: 6.1.1.2 (x64)
Build ID: 5d19a1bfa650b796764388cd8b33a5af1f5baa1b

When opening Tools->Options->Advanced, the JRE was already selected, so the DB worked straight away.
Comment 11 Buovjaga 2018-09-27 06:37:27 UTC
Great to see this old issue gone :) Tweaking status to WFM