Bug 152050 - "Childwindow slot missing" debug console noise when using Calc
Summary: "Childwindow slot missing" debug console noise when using Calc
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected) alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
: 152727 (view as bug list)
Depends on:
Blocks: console-noise Sparklines
  Show dependency treegraph
Reported: 2022-11-15 08:55 UTC by Mike Kaganski
Modified: 2023-05-12 04:58 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2022-11-15 08:55:03 UTC
Starting a debug build of Calc, and using it (e.g., pressing F11), produces sequences of these three warnings in console:

> warn:sfx.control:3708:9032:sfx2/source/control/dispatch.cxx:1206: Childwindow slot missing: 25917
> warn:sfx.control:3708:9032:sfx2/source/control/dispatch.cxx:1206: Childwindow slot missing: 26189
> warn:sfx.control:3708:9032:sfx2/source/control/dispatch.cxx:1206: Childwindow slot missing: 26190

These three warnings refer to the last (at the time of filing the bug) three registrations in ScTabViewShell::InitInterface_Impl:

>    GetStaticInterface()->RegisterChildWindow(ScCondFormatDlgWrapper::GetChildWindowId());
>    GetStaticInterface()->RegisterChildWindow(sc::SparklineDialogWrapper::GetChildWindowId());
>    GetStaticInterface()->RegisterChildWindow(sc::SparklineDataRangeDialogWrapper::GetChildWindowId());

where ScCondFormatDlgWrapper is implemented using WID_CONDFRMT_REF, and sc::SparklineDialogWrapper and sc::SparklineDataRangeDialogWrapper use SID_SPARKLINE_DIALOG and SID_SPARKLINE_DATA_RANGE_DIALOG respectively.

These three identifiers do not have any corresponding entries in SDI files; cf. to e.g. ScFourierAnalysisDialogWrapper, which SID_FOURIER_ANALYSIS_DIALOG indeed has entries in sc/sdi/scalc.sdi and sc/sdi/cellsh.sdi.

ScCondFormatDlgWrapper line was added in commit 2b5915da481990fd6ea272104215d82b6fbf5dbb;
sc::SparklineDialogWrapper - in commit c61aa2dea120cc083f3cd51f0347284f47a9d566, and sc::SparklineDataRangeDialogWrapper - in commit a08f9ed2341bc60faae6b86538661fea40417ace.

I am not quite sure how much of a problem this noise is, but it seems at least inconsistent, compared to the other 43 elements that get the respective slots in SfxDispatcher::Update_Impl_ for the same interface.
Comment 1 Mike Kaganski 2022-12-30 11:21:14 UTC
*** Bug 152727 has been marked as a duplicate of this bug. ***
Comment 2 Stéphane Guillou (stragu) 2022-12-31 12:06:56 UTC
Repro in:

Version: (X86_64) / LibreOffice Community
Build ID: 12e8d57e791bb1befc0716d4d02af7d1d1ccb4ae
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded