Bug 164676 - Insert-field [ctrl-f2] variables-set variable: insert-button-greyed-out
Summary: Insert-field [ctrl-f2] variables-set variable: insert-button-greyed-out
Status: ASSIGNED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
24.8.4.2 release
Hardware: All All
: medium normal
Assignee: Oliver Specht (CIB)
URL:
Whiteboard: target:26.2.0 target:25.8.1 target:25...
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Fields-Dialog
  Show dependency treegraph
 
Reported: 2025-01-12 18:16 UTC by kr4z33
Modified: 2025-08-12 16:41 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
demonstration (21.61 MB, image/gif)
2025-01-12 18:17 UTC, kr4z33
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kr4z33 2025-01-12 18:16:51 UTC
Description:
problems inserting a set variable field

Steps to Reproduce:
see discussion here:
https://ask.libreoffice.org/t/insert-field-ctrl-f2-variables-set-variable-insert-button-greyed-out/116424/9

Actual Results:
inability to set variable field

Expected Results:
ability to insert variable field


Reproducible: Always


User Profile Reset: No

Additional Info:
windows and Linux reportedly affected. version 24.8.4.2
Comment 1 kr4z33 2025-01-12 18:17:50 UTC
Created attachment 198503 [details]
demonstration
Comment 2 ajlittoz 2025-01-12 18:34:48 UTC
I confirm the bug.

It also happens for *Show variable*. My quick and dirty experiment could not determine if only a single stance of
1. click outside dialog in the document window
2. click back in dialog
was enough to fix the disabled Insert button or if the stance was needed every time an insertion was desired.

Here: Fedora 41, KDE Plasma desktop (VCK kf6+cairo), LO 24.8.4.2
Comment 3 BogdanB 2025-01-12 19:13:21 UTC
Confirm also with
Version: 25.2.0.1 (X86_64) / LibreOffice Community
Build ID: ddb2a7ea3a8857aae619555f1a8743e430e146c9
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 4 Mike Kaganski 2025-08-07 09:27:39 UTC
Please, please, whenever you find a regression: set the respective keywords! When a regression is then bisected, it may make a fix a matter of minutes; otherwise, you risk waiting years.
Comment 5 raal 2025-08-08 07:19:12 UTC
This seems to have begun at the below commit in bibisect repository/OS linux-64-24.8.
Adding Cc: to Oliver Specht ; Could you possibly take a look at this one?
Thanks
 3a165ba1e89fe8ba0f716da8dcd99e9e4cb80a65 is the first bad commit
commit 3a165ba1e89fe8ba0f716da8dcd99e9e4cb80a65
Author: Jenkins Build User <tdf@maggie.tdf>
Date:   Thu Apr 4 17:28:39 2024 +0200

    source 29750e249530eec0b3e00ceb75e668ad22b21cae

165750: improve usability of variable fields | https://gerrit.libreoffice.org/c/core/+/165750
Comment 6 Commit Notification 2025-08-12 08:00:51 UTC
Oliver Specht committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/2081fc359b25b7e4262880cccf7551a4632b3b35

tdf#164676 fix modify handler in variables tab page

It will be available in 26.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.
Comment 7 Commit Notification 2025-08-12 12:28:45 UTC
Oliver Specht committed a patch related to this issue.
It has been pushed to "libreoffice-25-8":

https://git.libreoffice.org/core/commit/1ae15f53c03c966776c46ce4dc87aafea751337e

tdf#164676 fix modify handler in variables tab page

It will be available in 25.8.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.
Comment 8 Commit Notification 2025-08-12 14:29:03 UTC
Oliver Specht committed a patch related to this issue.
It has been pushed to "libreoffice-25-2":

https://git.libreoffice.org/core/commit/cb55083bb8ca53e74038cac5836dafde46d19d72

tdf#164676 fix modify handler in variables tab page

It will be available in 25.2.6.

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.
Comment 9 Commit Notification 2025-08-12 16:41:38 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/2d9596d9dd0f4b83c0228dbb7bc69e51b7186858

tdf#164676: sw: Add UItest

It will be available in 26.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.