Bug 170442 - Edit Field dialog is lost
Summary: Edit Field dialog is lost
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
26.8.0.0 alpha0+ master
Hardware: All All
: high major
Assignee: Szymon Kłos
URL:
Whiteboard: target:26.8.0
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Fields-Dialog
  Show dependency treegraph
 
Reported: 2026-01-23 00:07 UTC by Justin L
Modified: 2026-01-28 16:10 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin L 2026-01-23 00:07:30 UTC
Steps to reproduce:
-open attachment 205136 [details] (forum-mso-en4-401306.docx)
-right click on any of the drop-down fields and chose 'Edit field'

You should get a dialog that lets you manage the dropdown choices etc.
But starting in 26.8, All you get is a Help/OK/Cancel/Prev/Next buttons.

This started with commit 446883bf612b13d48abffabddc71527ccbc3c9bc
Author:     Szymon Kłos on Mon Jan 5 09:40:53 2026 +0100
    jsdialog: enable cross-reference dialogs
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196356
Comment 1 BogdanB 2026-01-23 04:44:37 UTC
Confirm with
Version: 26.8.0.0.alpha0+ (X86_64)
Build ID: f4bc7693009eb181844aed884281655637f118ad
CPU threads: 16; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Working well in
Version: 26.2.0.2 (X86_64)
Build ID: 750d5fef117734aeeb00d37a069d6c814e9eb8ce
CPU threads: 16; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 2 Julien Nabet 2026-01-25 10:47:52 UTC
Just for the record, with this patch (partial revert of already quoted 446883bf612b13d48abffabddc71527ccbc3c9bc)
diff --git a/sw/source/ui/fldui/fldedt.cxx b/sw/source/ui/fldui/fldedt.cxx
index fb323f47108f..3c1e08744fa3 100644
--- a/sw/source/ui/fldui/fldedt.cxx
+++ b/sw/source/ui/fldui/fldedt.cxx
@@ -99,7 +99,7 @@ void SwFieldEditDlg::EnsureSelection(SwField *pCurField, SwFieldMgr &rMgr)
 }
 
 SwFieldEditDlg::SwFieldEditDlg(SwView const & rVw)
-    : SfxSingleTabDialogController(rVw.GetViewFrame().GetFrameWeld(), nullptr, u"content"_ustr,
+    : SfxSingleTabDialogController(rVw.GetViewFrame().GetFrameWeld(), nullptr,
         u"modules/swriter/ui/editfielddialog.ui"_ustr, u"EditFieldDialog"_ustr)
     , m_pSh(rVw.GetWrtShellPtr())
     , m_xPrevBT(m_xBuilder->weld_button(u"prev"_ustr))

it works.
Comment 3 Szymon Kłos 2026-01-26 04:14:40 UTC
Hi, let me look today. I added additional container to be sure dynamic content isn't put under action buttons.
Comment 4 Commit Notification 2026-01-28 16:10:38 UTC
Szymon Kłos committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/30998b5bd283336a48f572487c436672c67fd71f

tdf#170442 show content of edit field dialog

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