Peter Kümmel wrote: > Asger Ottar Alstrup wrote: >> - Table toolbar in menu problem. (Peter reported missing the drag-able >> table insertion gadget, but that exists in the toolbar. Is that not good >> enough?) > > It's a Qt bug. I've reported this:
The best we could do is the patch below. The only problem I see with it is that the minibuffer is not at a new line. Because I'm the only one who works on this and I don't wanna spend more time on this I've check in the patch. Peter * frontends/Toolbars.C: revert first patch http://www.lyx.org/trac/changeset/15597 * frontends/qt4/GuiView.C: don't 'break' the toolbar because it doesn't work if the toolbar will be hidden Index: frontends/Toolbars.C =================================================================== --- frontends/Toolbars.C (revision 15635) +++ frontends/Toolbars.C (working copy) @@ -124,6 +124,11 @@ ToolbarPtr tb_ptr = owner_.makeToolbar(tbb); toolbars_[tbb.name] = tb_ptr; + if (tbb.flags & ToolbarBackend::ON) + tb_ptr->show(false); + else + tb_ptr->hide(false); + if (tb_ptr->layout()) layout_ = tb_ptr->layout(); } Index: frontends/qt4/GuiView.C =================================================================== --- frontends/qt4/GuiView.C (revision 15635) +++ frontends/qt4/GuiView.C (working copy) @@ -323,9 +323,13 @@ } if (tbb.flags & ToolbarBackend::BOTTOM) { addToolBar(Qt::BottomToolBarArea, Tb); + /* + // Qt bug. Doesn't work because the + // toolbar will evtl. be hidden. if (lastTb) insertToolBarBreak(lastTb); lastTb = Tb; + */ } if (tbb.flags & ToolbarBackend::LEFT) { addToolBar(Qt::LeftToolBarArea, Tb);