Bug 152453 - Improve the wording of "JREs already installed" list title, to remove confusion
Summary: Improve the wording of "JREs already installed" list title, to remove confusion
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL: https://ask.libreoffice.org/t/is-java...
Whiteboard:
Keywords: difficultyBeginner, easyHack, skillDesign, topicUI
Depends on:
Blocks: Options-Dialog
  Show dependency treegraph
 
Reported: 2022-12-10 10:10 UTC by Mike Kaganski
Modified: 2022-12-16 07:43 UTC (History)
4 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 Mike Kaganski 2022-12-10 10:10:29 UTC
https://ask.libreoffice.org/t/is-java-necessary-in-windows-11-to-use-links-and-cross-reference-in-libreoffice/85138/3 writes:

> Does the LibreOfficeWriter > Tools > Advanced tell the truth when it says “Jave
> runtime environment (JRE) already installed”? If so, this would seem to confirm
> your statement that no added link is required. However, this appears to conflict
> with an answer I received on how to tell if Libre is connected to the JRE:
> 
> How to check if LibreOffice detected Java Runtime Environment
> 
> 1. Open LibreOffice (calc, Impress, etc).
> 2. Go to from Menu : Tools → Options → Advanced Under LibreOffice.
> 3. Under the Java Options window, you will see it listed if Java is installed.
>    If not, there will not be any entries.

It is *likely* that the poster there sees an empty list below the "Java runtime environments (JRE) already installed:" title, and without knowing what to expect on that page, thinks that the line itself tells them something about the state of their system configuration.

So to avoid this kind of newbie confusion, this line could be improved to explicitly tell user that it is just a title; maybe something like

  A list of Java runtime environments (JRE) already installed:

Or maybe even change dynamically to tell "No JREs were found on your system!".
Comment 1 m_a_riosv 2022-12-10 14:51:57 UTC
Sorry, keeping 'already installed' seems to me falls on what is wanted to solve.

Maybe something like 'installed in the system, select one for use with LibreOffice'

Sounds fine, the dynamic change.

Mac's I think need JDK, so perhaps 'JRE/JDK' can clarify a bit.
Comment 2 Heiko Tietze 2022-12-14 08:31:02 UTC
(In reply to m.a.riosv from comment #1)
> Maybe something like 'installed in the system, select one for use with
> LibreOffice'

Or just "Installed on this system:"? 

Omitting the JRE text sounds correct as the checkbox above holds this information.
Comment 3 V Stuart Foote 2022-12-14 14:35:25 UTC
What is not clear between the two parts is how the listbox of radio buttons for JRE/JDK present relate to the action user needs to take with the checkbox to configure use of Java within LibreOffice.

The label should hint the action--i.e. when Java use is checked enabled, to make a selection from this list of JRE/JDK (of the right flavor) that LibreOffice has found on this system.

Mike's 'A list of Java runtime environments (JRE) already installed:' omits the "make a selection".  And we depend on the use of radio buttons on the list elements to hint that just one be selected.

Finding a string to convey that--while remaining translatable--is the ask.

IMHO, just keep the current but append " (select one):"

And related, add the "No JREs were found on your system!" to the list box rather than changing the label.
Comment 4 Mike Kaganski 2022-12-14 14:50:04 UTC
(In reply to m.a.riosv from comment #1)
> Mac's I think need JDK, so perhaps 'JRE/JDK' can clarify a bit.

This needs checking - I recall Stephan doing something lately to restore ability to use normal JRE on macOS; maybe that was platform-specific (Arm?)... Let's keep this specific bit separate :)
Comment 5 Alex Thurgood 2022-12-15 14:20:56 UTC
(In reply to Mike Kaganski from comment #4)
> (In reply to m.a.riosv from comment #1)
> > Mac's I think need JDK, so perhaps 'JRE/JDK' can clarify a bit.
> 
> This needs checking - I recall Stephan doing something lately to restore
> ability to use normal JRE on macOS; maybe that was platform-specific
> (Arm?)... Let's keep this specific bit separate :)

Well as far as I'm concerned, the latest Oracle JRE (Java 8 Update 351) is not recognised in :

Version: 7.5.0.0.beta1 (AARCH64) / LibreOffice Community
Build ID: 3aca23eec42e9d6fbe57071d7633ae1fc4bc5fcc
CPU threads: 8; OS: Mac OS X 13.0.1; UI render: default; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded



On the otherhand, both Eclipse Adoptium Temurin 18.0 JDK, and Oracle 17 full JDK (aarch64), are recognised.
Comment 6 Heiko Tietze 2022-12-16 07:43:34 UTC
We discussed the topic in the design meeting. The options are

"Installed in the system, select one for use with LibreOffice:"
"Select the JRE/JDK you want to use with LibreOffice:"
"Java runtime environments (JRE) already installed. Please select one:"

and the doer should decide.

Code pointer: cui/uiconfig/ui/optadvancedpage.ui