Bug 122290 - Edit Fields: select only fields of the same type
Summary: Edit Fields: select only fields of the same type
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.1.4.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Fields-Dialog
  Show dependency treegraph
 
Reported: 2018-12-23 13:26 UTC by Christian Lehmann
Modified: 2019-06-05 07:47 UTC (History)
1 user (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 Christian Lehmann 2018-12-23 13:26:18 UTC
Description:
Proposal for enhancement:
Right-clicking on a reference produces a context menu containing an item 'Edit fields'. Upon selecting it, I can update a reference. This is one of the nicest features of LO. Make it even better by registering the kind of field clicked by the user as explained below.

Steps to Reproduce:
1. Right-click on a reference (implemented as a 'field').
2. Click the context-menu item 'Edit Fields'.
3. The 'Edit Fields' dialogue box pops up.

Actual Results:
The 'edit fields' dialog box shows the same configuration of highlighted items that the user had used last time he created a reference (which is a good thing for the action of inserting a _new_ reference).

Expected Results:
Instead, the dialog box should, in this case,
- in the 'Type' window, highlight the type of the reference clicked
- in the 'Selection' field, preselect that subset of Type that the clicked item is an element of, like Table, Chapter numbering etc.
- in the 'Insert reference to' field, highlight the same kind of target used for clicked item.


Reproducible: Always


User Profile Reset: No



Additional Info:
In a large document, this service would save the user much time. Moreover, if, in the exceptional case, he does not just want to update a reference but instead to change a reference to a completely new type, he can just change the parameters in the dialog box as usual.
Comment 1 Dieter 2018-12-26 06:58:49 UTC
I get the desired result with LO 6.4.1. To be certain the reported issue is not
related to corruption in the user profile, could you please reset your
Libreoffice profile (https://wiki.documentfoundation.org/UserProfile) and re-test?

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the issue is still present
Comment 2 Christian Lehmann 2018-12-26 17:50:08 UTC
I have now used the Windows version of LO 6.1.4.2 (German UI), have reset the user profile and retested the behavior of Edit Fields. It is still exactly as I described. In order to verify, please create two references, first to a heading and then another to a page and then try editing the reference to the heading. You will see that what LO Writer displays is editing references to pages.
Comment 3 Dieter 2018-12-26 18:45:49 UTC
I can confirm it with the steps from comment 2

and

Version: 6.1.4.2 (x64)
Build-ID: 9d0f32d1f0b509096fd65e0d4bec26ddd1938fd3
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE); Calc: group threaded

and

Version: 6.3.0.0.alpha0+ (x64)
Build ID: ffa5b8a82eab18041bbee4d6914892b82c7801d3
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-12-19_03:24:54
Locale: en-US (de_DE); UI-Language: en-US
Calc: threaded
Comment 4 Christian Lehmann 2019-06-05 07:38:35 UTC
The enhancement was implemented in LO 6.2.4.2. Thanks.
Comment 5 Dieter 2019-06-05 07:47:20 UTC
(In reply to Christian Lehmann from comment #4)
> The enhancement was implemented in LO 6.2.4.2. Thanks.

Christian, I can confirm, that the correct "Type" entry is selected, but not the "Insert refence to" entry => back to NEW

Tested with

Version: 6.3.0.0.beta1 (x64)
Build ID: a187af327633f5f00363be5131bd21a13e0f1a7b
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-US (de_DE); UI-Language: en-GB
Calc: threaded