Description: In 7.5.3.2, the behavior is correct. When selecting a text and setting a reference, it will show a field with the xRef name. This is desired behavior. (Screenshot 1) In 7.6.0.0-alpha0+, when selecting texts and setting the cross reference, it will insert the field after the selected text, which is different than 7.5. (Screenshot 2) In 7.6.0.3, it is even more weird. The behavior is similar to 7.6.0.0alpha, but we can not identify if it is field or not. (Screenshot 3) The cross reference itself works. I mean, when inserting a reference, it is not shown as a field, but clicking it can show reference settings, and ctrl-click it can jump back to the reference. But I can not see if that is a reference or not since no gray background. Steps to Reproduce: 1. Select texts 2. Set cross reference 3. It was not shown properly Actual Results: The reference text was not gray-backgrounded. I can not identify if the text is a reference or not. Expected Results: It should shown as a field (gray-backgrounded). Reproducible: Always User Profile Reset: No Additional Info: Behavior corrected version 7.5.3.2: Version: 7.5.3.2 (X86_64) / LibreOffice Community Build ID: 9f56dff12ba03b9acd7730a5a481eea045e468f3 CPU threads: 4; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb) Locale: zh-TW (zh_TW.UTF-8); UI: zh-TW Calc: threaded Behavior incorrect versions: Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 127eacf630e1712fd5addcabed404b2d33752311 CPU threads: 4; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb) Locale: zh-TW (zh_TW.UTF-8); UI: en-US Calc: threaded Version: 7.6.0.3 (X86_64) / LibreOffice Community Build ID: 69edd8b8ebc41d00b4de3915dc82f8f0fc3b6265 CPU threads: 4; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb) Locale: zh-TW (zh_TW.UTF-8); UI: zh-TW Calc: threaded
Created attachment 189776 [details] 7.5.3: correct behavior (Screenshot 1) In version 7.5.3.2 the behavior and appearance is correct.
Created attachment 189777 [details] 7.6.0.0alpha0+: The behavior is strange (Screenshot 2) In 7.6.0.0alpha0+, the reference field will be inserted after the selected text instead of replacing it, which is not the intended behavior.
Created attachment 189778 [details] 7.6.0.1: The field texts was not gray backgrounded (Screenshot 3) In version 7.6.0.1 the reference (field) texts is not gray backgrounded, so we can not tell if the text has or is a reference.
*** This bug has been marked as a duplicate of bug 157394 ***