Description: If two numbered paragraphs are merged by deleting the second one (e. g. Level 2 merged to level 1 by deleting numbering of level 2), cross reference which point to the first of them (level 1) brakes. Steps to Reproduce: 1. Set 2 numbered paragraphs as Line 1 - set numbering level 1 (e. g. 1.) and line 2 - set numbering level 2 (e.g. a.) 2. Create a line 3 with a cross reference to the the line 1 3. Delete numbering in line 2 and merge the text with line 1 (using backspace or delete key) Actual Results: In line 3 you get en Cross reference Error Expected Results: Cross reference to line 1 should be kept Reproducible: Always User Profile Reset: No OpenGL enabled: Yes Additional Info: I am not sure if this is a expected behavior, but I think it is a bug. As i often work with contracts, sometimes you decide to shorten the text or delete one of two sublevels - in this case you want merge the sublevel text which is remaining to the first level text, e. g.: A. original tex 1. If the buyer: a. pay the price, b. take over the item ... 3. In case of point 1. .... B. New text 1. If the If the buyer pay the price and take over the item... ... 3. In case of point 1. .... YOU GOT HERE AN ERROR OF CROSS REFERENCE without a reason, as the point 1 is still there. I attach a test file, where you can try to delete line
Created attachment 176186 [details] Test file to reproduce the bug
It's not easy to reproduce Steps 1. Open attachment 176186 [details] 2. Put cursor at the and of second line 3. Select text including "Line 1" 4. Delete text and press F9 (Update fields) Actual result: Error message Test 2 1. Open attachment 176186 [details] 2. Put cursor at the and of second line 3. Press delete button until everything is deleted including "Line 1" 4. Press F9 (Update fields) Actual result: Field still works But it's not clear to me what kind of field it is. If I edit the field and select "Numbered Paragraph" as type, it works as expected. So please give some information about the field. => NEEDINFO
Hallo Dieter, The reference is: MENU-INSERT-FIELDS-MORE FIELDS-CROSS-references / Type: Numbered paragraph / Insert reference to: Number (no context). Your reproduction 1/ makes the problem visible. But let me tell you, the steps you are reproducing are not exactly the same, as I had described (sorry if I was not clear enough). I face this problem when MERGING Line 2 with Line 1 (Line 3 is not edited), this means you should put the cursor somewhere in line 1 and delete the text until end of line 2 (or you can use mouse to select the text also), or much more better (real situation), only use DELETE button on the end of LINE 1 (means press DELETE button only once and exactly on the end of line 1) and than refresh fields.
[Automated Action] NeedInfo-To-Unconfirmed
(In reply to Orwel from comment #3) > Hallo Dieter, > The reference is: MENU-INSERT-FIELDS-MORE FIELDS-CROSS-references / Type: > Numbered paragraph / Insert reference to: Number (no context). > > Your reproduction 1/ makes the problem visible. > But let me tell you, the steps you are reproducing are not exactly the same, > as I had described (sorry if I was not clear enough). I face this problem > when MERGING Line 2 with Line 1 (Line 3 is not edited), this means you > should put the cursor somewhere in line 1 and delete the text until end of > line 2 I can't reproduce the problem with these steps and I also can't reproduce it in current master with my steps from first test in comment 2 Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 2934472ab888ebfe64a153984af2902fac63a7a0 CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL Orwel, is it possible for you, to test with actual master: https://dev-builds.libreoffice.org/daily/master/current.html You can install it an parallel. => NEEDINFO
I will test it in 7.4.0.0.alpha0+ (x64) after this built is relase in Separate Install GUI of LO (actually, there is the built 7.3.0.0.beta1 as the last one).
(In reply to Orwel from comment #6) > I will test it in 7.4.0.0.alpha0+ (x64) after this built is relase in > Separate Install GUI of LO (actually, there is the built 7.3.0.0.beta1 as > the last one). No, please have a look at https://dev-builds.libreoffice.org/daily/master/current.html. Master is LO 7.4.0.0
(In reply to Dieter from comment #7) > > No, please have a look at > https://dev-builds.libreoffice.org/daily/master/current.html. Master is LO > 7.4.0.0 Sorry, I have no experience with installing portable/test versions without using Separate Install GUI of LO. I do not want risk to affect my existing installation and USER folder. I have no possibility to install it on other PC, so I had to wait until this dev-built will be available in SI GUI of LO, as this is intended for separate and test installations.
(In reply to Orwel from comment #8) > Sorry, I have no experience with installing portable/test versions without > using Separate Install GUI of LO. I do not want risk to affect my existing > installation and USER folder. It doesn't affect your existing installation or user folder. And it's the same installation process as with other versions of LO. But of course t's upt to you to decide.
Dear Orwel, This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INSUFFICIENTDATA due to lack of needed information. For more information about our NEEDINFO policy please read the wiki located here: https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed. Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-NeedInfo-Ping
Hi, I have tested the bug on: Version: 7.4.0.0.alpha1 (x64) / LibreOffice Community Build ID: b871abad383583f02eb49c7e49aeae01f6941072 CPU threads: 16; OS: Windows 10.0 Build 19042; UI render: Skia/Vulkan; VCL: win Locale: en-GB (sk_SK); UI: en-US Calc: CL and it is still present. The behavior is the same. USE my test file. If you delete the text in 1. Line (using delete button) "PRESS HERE DELETE and update fields" until the Text "Line 2" becomes a part of line 1 and after this you update fields, the cross reference (Number (no context)) breaks and you get Error: Reference source not found. The file seems (after described changes) like this: 1. Line 1, Line 2. 2. Line 3 - Cross reference to line 1 - Error: Reference source not found
I confirm it with Version: 7.4.0.0.alpha1+ (x64) / LibreOffice Community Build ID: 5423dfb8549743bd5045b6e3b1ebad7980e62965 CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL Steps: 1. Open attachment 176186 [details] 2. Place cursor at end of first paragraph and presse DELETE once 3. F9 (Update fields) Actual result Error message for field
(In reply to Dieter from comment #13) > I confirm it with > > Version: 7.4.0.0.alpha1+ (x64) / LibreOffice Community > Build ID: 5423dfb8549743bd5045b6e3b1ebad7980e62965 > CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: > win > Locale: de-DE (de_DE); UI: en-GB > Calc: CL > > Steps: > 1. Open attachment 176186 [details] > 2. Place cursor at end of first paragraph and presse DELETE once > 3. F9 (Update fields) > > Actual result > Error message for field Still repro, already in 3.5. Arch Linux 64-bit Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: d500848976b6244048684a9972322b582559910a CPU threads: 8; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: CL threaded Built on 19 September 2024