https://bugs.documentfoundation.org/show_bug.cgi?id=161311
--- Comment #15 from Patrick (volunteer) <[email protected]> --- Created attachment 201341 --> https://bugs.documentfoundation.org/attachment.cgi?id=201341&action=edit Snapshot with loading of notebook bar configuration file disabled OK. After some random poking around the code, I think that I might have narrowed down what might be causing this bug. I was able to suppress loading of the notebook bar's configuration file using the debug patch below. As shown in the attached snapshot, only the notebook bar's background color is drawn and the height is much less. I didn't see anything about sizing in the notebookbar.ui file for Calc so I am guessing that there is some bug in vcl's automatic layout code which I am unfamiliar with: diff --git a/vcl/source/control/notebookbar.cxx b/vcl/source/control/notebookbar.cxx index 6f143a867dcf..be4e0cd3fe86 100644 --- a/vcl/source/control/notebookbar.cxx +++ b/vcl/source/control/notebookbar.cxx @@ -96,6 +96,11 @@ NotebookBar::NotebookBar(Window* pParent, const OUString& rID, const OUString& r } else { +(void)sUIDir; +(void)rUIXMLDescription; +(void)rID; +(void)aNotebookBarAddonsItem; +/* m_pUIBuilder.reset( new VclBuilder(this, sUIDir, rUIXMLDescription, rID, rFrame, true, &aNotebookBarAddonsItem)); @@ -116,6 +121,7 @@ NotebookBar::NotebookBar(Window* pParent, const OUString& rID, const OUString& r i++; } while( pContextContainer != nullptr ); +*/ } UpdateBackground(); -- You are receiving this mail because: You are the assignee for the bug.
