Description: The insert button in the Fields dialog is grayed out, disabled and won't insert some field options that should be available. Steps to Reproduce: 1. In the attached document, in the menu bar select Insert > Field > More Fields... (or press Ctrl + F2) The Fields dialog menu will open and have the “Document” tab automatically selected and most of the types will be available to insert. 2. Select the “Cross-references” tab and on type select “Bookmarks” (or any other type that is not available). The insert button is grayed out since no bookmarks are available. 3. Then select the “Document” tab. The Insert button is grayed out for all the types that were previously available and you can’t insert them. Actual Results: The insert button is greyed out and disabled for some of the fields that should be available such as date and file name Expected Results: the insert button should not be greyed out and still be able to insert fields that are available Reproducible: Always User Profile Reset: No Additional Info: The workaround is to go back to the “Cross-references” tab and select a type that is available to activate the Insert button again. This behavior is not present in older versions 3, 4 and 5 Reproducible starting in: Version: 6.4.7.2 (x64) Build ID: 639b8ac485750d5696d7590a72ef1b496725cfb5 CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: GL; VCL: win; Locale: en-US (en_US); UI-Language: en-US Calc: CL and Version: 6.4.7.2 Build ID: 639b8ac485750d5696d7590a72ef1b496725cfb5 CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3; Locale: en-US (en_US.UTF-8); UI-Language: en-US Calc: threaded
Created attachment 194610 [details] insert button
Repro Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: cfffcbc39b2c6794eaeddae5134fb59848a76d41 CPU threads: 8; OS: Linux 6.9; UI render: default; VCL: kf6 (cairo+wayland) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: CL threaded
This seems to have begun at the below commit in bibisect repository/OS bibisect-linux-64-6.3. Adding Cc: to Caolán McNamara ; Could you possibly take a look at this one? Thanks 49446a9608822f992ad6f1a1a458c18157a28700 is the first bad commit commit 49446a9608822f992ad6f1a1a458c18157a28700 Author: Jenkins Build User <tdf@pollux.tdf> Date: Fri Mar 22 15:09:50 2019 +0100 source fbd79c6125fd302dde9af2d76171dd5ca794af4d 69475: weld SwFieldDlg | https://gerrit.libreoffice.org/c/core/+/69475
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/7a5d0c413f37e02356d0bd1e1da7a9445ee25fe8 Resolves: tdf#161478 Insert button not updated on switch tabs It will be available in 25.2.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.
that seems to fix it
Confirmed, this bug has been fixed and is no longer reproducible in: Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 69fc5c396059603804b17b0f0cb076fff7188cba CPU threads: 8; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded Good job
Verified, based on comment 6.
Caolán McNamara committed a patch related to this issue. It has been pushed to "libreoffice-24-8": https://git.libreoffice.org/core/commit/157d71689ce1878a142118cdc7fd09b499cb07e3 Resolves: tdf#161478 Insert button not updated on switch tabs It will be available in 24.8.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.