diff --git a/src/Gui/ToolBarManager.cpp b/src/Gui/ToolBarManager.cpp index 91d9e7f56a..61d6de016b 100644 --- a/src/Gui/ToolBarManager.cpp +++ b/src/Gui/ToolBarManager.cpp @@ -182,6 +182,12 @@ void ToolBarManager::setup(ToolBarItem* toolBarItems) static QPointer _ActionWidget; if (!_ActionWidget) { _ActionWidget = new QWidget(getMainWindow()); + _ActionWidget->setObjectName(QStringLiteral("_fc_action_widget_")); + // Although _ActionWidget has zero size, on MacOS it somehow has a + // 'phantom' size without any visible content and will block the top + // left tool buttons of the application main window. So we move it out + // of the way. + _ActionWidget->move(QPoint(-100,-100)); } else { for (auto action : _ActionWidget->actions())