From 60480d35fc99de4d2b19726811ed56210b62bed1 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sat, 4 Apr 2026 17:08:36 +0200 Subject: [PATCH] Fixed issue #2311 As I see it, only this particular tool top was not guarded against non-UI mode. All other tooltips are either guarded or pop up only in a user interaction context. --- src/edt/edt/edtPlugin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/edt/edt/edtPlugin.cc b/src/edt/edt/edtPlugin.cc index c11fb75af..7b803db76 100644 --- a/src/edt/edt/edtPlugin.cc +++ b/src/edt/edt/edtPlugin.cc @@ -367,7 +367,7 @@ public: lay::Action *combine_menu = mp->menu ()->action ("@toolbar.combine_mode"); - if (cm != CM_Add && combine_menu->is_visible ()) { + if (cm != CM_Add && combine_menu->is_visible () && mp->menu_parent_widget ()->isVisible ()) { lay::TipDialog td (QApplication::activeWindow (), tl::to_string (tr ("The background combination mode of the shape editor is set to some other mode than 'Add'.\n" "This can be confusing, because a shape may not be drawn as expected.\n\nTo switch back to normal mode, choose 'Add' for the background combination mode in the toolbar.")),