Bug 104561 - Improve usability in dialog for Java start parameters
Summary: Improve usability in dialog for Java start parameters
Status: CLOSED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.1.6.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsUXEval
Depends on:
Blocks:
 
Reported: 2016-12-10 15:46 UTC by Roland Illig
Modified: 2016-12-14 20:40 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 Roland Illig 2016-12-10 15:46:42 UTC
Description:
The dialog for editing the Java start parameters unnecessarily restricts the user's actions.

1. It is not possible to copy all the start parameters
2. It is not possible to paste all the start parameters
3. It is not possible to change the order of the start parameters
4. When the focus is in the upper text field and the user presses Enter, the dialog closes instead of adding the parameter.
5. After assigning a start parameter, the focus is in the list of parameters. It should be in the input field.

A better solution would be to have a single multi-line text field and a label saying "Java start parameters (one per line)".

In the screenshot, the example has double backslashes, which I think is wrong. At least it contradicts the information on https://help.libreoffice.org/5.1/Common/Start_Parameters.


Steps to Reproduce:
1. In Extras > Settings > LibreOffice > Advanced/Extended, click on the [Parameters...] button.

Actual Results:  
A dialog appears that is difficult to use.

Expected Results:
A dialog appears that is quick and easy to use.


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36
Comment 1 V Stuart Foote 2016-12-14 15:03:58 UTC
On Windows 10 Pro with current TB master

Tools -> Options -> Advanced: Java Options -> Parameters button

With the Java Start Parameters dialog OPs comments as to inability to dynamically edit a full set of start parameters are valid.

However see no compelling reason to change the provided GUI editor for what are largely static settings--tuned one parameter at a time. The UI is functional to task, which is setting and tuning per user JVM parameters to profile.

Also, when set, the Java start Parameters are recorded into user/config javasettings xml in the stanzas:

<vmParameters xsi:nil="false">
<param>/param>
</vmParameters>

They can be more directly edited there with a text or xml editor. 

The Benjamin user is unlikely to ever make changes to their JRE settings, and the Eve user would find the existing dialog(s) consistent with other configuration dialogs (those that have not been moved to expert configuration).

Devs and the uncommon user with specialized Java requirements can edit their configuration directly.

So again no compelling reason to change GUI for the provided Java Start Parameter dialog(s).

=-=-

The local help / online help articles are accurate with exception that the "Assign" button was renamed "Add"

=-=-

Believe the "double backslashes" showing in the example in the dialog is an error in the dialogs .ui configuration file:

http://opengrok.libreoffice.org/xref/core/cui/uiconfig/ui/javastartparametersdialog.ui#159

will need to correct that.
Comment 2 V Stuart Foote 2016-12-14 15:39:55 UTC
Also, builds from 5.2.0 through current 5.4.0/master TB builds include work done on bug 97425 - JVM start parameters should be editable.  Please test a more recent build than 5.1 branch which is reaching EOL.