Created attachment 177180 [details] testCrossRef.odt The attached test odt file contains a simple Table (numbered range) index and a simple Figure (numbered range) index. However, if you go to Insert > Cross Reference, the table and figure are not shown in the reference list box. Steps to Reproduce: 1. Open the attached test ODT file. 2. Put cursor to the highlighted text (or to any other place), then go to "Insert > Cross Reference". 3. Select Table or Figure category. --> Nonthing shows in the list on the right side. It is expected that one figure and one table is shown within the corresponding category. Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: 1bb0e177124d5d6661b72df6c7d848fb23639652 CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: gtk3 Locale: zh-CN (zh_CN.UTF-8); UI: zh-CN Build Platform: Fedora34@X64, Branch:master, bibisect-linux-64-7.4-CN Calc: threaded
Bibisected to: $ git log 7d5984d7a..d53b9c69e --format=reference d53b9c69e24d (osl::Mutex->std::mutex in UndoManagerHelper_Impl, 2021-12-18) 833b240d1d04 (Update git submodules, 2021-12-20) 40487d9c81c6 (tdf#145062 sw: try to fix UBSan crash in UITest, 2021-12-17) whereas 40487d9c81c6 seems to be related. commit 40487d9c81c69c4e5ee1621e53c8162ae33c80b2 Author: Michael Stahl <michael.stahl@allotropia.de> Date: Fri Dec 17 18:46:29 2021 +0100 tdf#145062 sw: try to fix UBSan crash in UITest Adding Michael Stahl to cc: could you please take a look? Thanks.
Confirmed in: Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: 7fe2ce55ab86cc7a32850fdf504e368c535949c3 CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded But 7.3 beta1 is OK: Version: 7.3.0.0.beta1 / LibreOffice Community Build ID: 436f14c25ec1847646b953cf13d0db4f7ca3be57 CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded
*** Bug 146564 has been marked as a duplicate of this bug. ***
Same problem experienced with Headings
Michael Stahl committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/6d5f22585003e1b0091eefad9d6a2446a1b510d1 tdf#146462 sw: fix broken CrossReference field tab page It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
fixed on master
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/d4d16e26a7deb5bfddc9736b4cc9e87c5f6704ee tdf#146462: sw: Add UItest It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.