Created attachment 181175 [details] A document with some cross-references (This bug has been split off from 148473) Consider the attached document. It has some cross-references. If we open the Navigator sidebar pane, we should see, under "fields", something like "cross-reference - First", "cross-reference - second" etc. Instead, I see: cross-reference - __RefHeading___Toc1_1092939602 cross-reference - __RefHeading___Toc3_1092939602 cross-reference - __RefHeading___Toc5_1092939602 and so on. At the same time, it seems Heiko Tieze, who's tried opening this file, doesn't see the "__RefHeading__" part, but something more meaningful. Version info: Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: ab12274ffda3a1a5a1ff33203acf9de665d4a636 CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3 Locale: en-IL (en_IL); UI: en-US
Created attachment 181176 [details] Screenshot with problematic Navigator field entries This is what _I_ see - the bug manifesting.
I'll make it even simpler. 1. Create a new Writer document 2. Type in "First" and Enter 3. Set the style for the first paragraph to Heading 1 4. Place the cursor at the beginning of the second paragraph 5. Open Insert | Reference | Cross-Reference on the menus 6. Choose a Heading cross-reference, using Page Number Unstyled This results in a Navigator entry with __RefHeading__ instead of a more meaningful name. Will attach that instead of the previously-attached file.
Created attachment 181177 [details] A document with a __RefHeading__ cross-references
Created attachment 181178 [details] Screenshot with problematic Navigator field entry
I can't confirm with Version: 7.3.5.2 (x64) / LibreOffice Community Build ID: 184fe81b8c8c30d8b5082578aee2fed2ea847c01 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 entry is : cross-reference - First But I can confirm with master from 16.07. Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community Build ID: ce29e6299932fc079b05b60662ba95c8342990bc 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 I will update master and retest.
Reproducible with Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 4827d5cb1508f6bca9489e31b877cfff36393c50 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 So it's a regression. Jim, could you have a lokk at it? Thank you cc: Jim Raykowski
This seems to have begun at the below commit. 4555a8d430310d8fe7d5828ffdc6387507107e46 is the first bad commit commit 4555a8d430310d8fe7d5828ffdc6387507107e46 Author: Jenkins Build User <tdf@pollux.tdf> Date: Thu Feb 24 02:43:47 2022 +0100 source 21b5d6e0dce7c2034aded96d1499da27094e2781 https://git.libreoffice.org/core/+/21b5d6e0dce7c2034aded96d1499da27094e2781
Jim Raykowski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/b8ac21a3981b9d6fd94aa74c4da9026e580f44eb tdf#149916 revert to showing text of referenced text node It will be available in 7.5.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.
Jim Raykowski committed a patch related to this issue. It has been pushed to "libreoffice-7-4": https://git.libreoffice.org/core/commit/e503ff11a79a2fc229c5fd679573c0227f3f9a73 tdf#149916 revert to showing text of referenced text node It will be available in 7.4.0.2. 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.
Jim Raykowski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/a0e09cf64eea663122043294b848ac1bb8f05ac9 tdf#149916 follow up to include expand field text It will be available in 7.5.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.
VERIFIED with Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community Build ID: a56d0c34716f381accbd9d2e3040a62d3583d18d 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 Jim, thanks for fixing it!
Jim Raykowski committed a patch related to this issue. It has been pushed to "libreoffice-7-4": https://git.libreoffice.org/core/commit/e6b9fab8be5f4a8de5126d1f3be82e0c738af9a0 tdf#149916 follow up to include expand field text It will be available in 7.4.1. 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.
Xisco Fauli committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/a5df8f82938973b2dd63e39d96b95833670005ba tdf#149916: sw: Add UItest It will be available in 7.5.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.