Tooltip creation event triggers context menu disappearing
Agent answer
Triage: GUI bug, Linux, reproducible-class.
This is a pure GUI interaction defect on the Linux (wxGTK) build, not hardware/cloud/OS-specific to Windows/macOS, so it falls in the reproducible category. The mechanism matches code already in the repo: Orca added Wayland handling in src/slic3r/GUI/Widgets/PopupWindow.cpp (Show() line 134-135 hides stray tooltip windows; topWindowActiavate() line 162-168 suppresses dismissal when a own_tooltip_mapped() tooltip—lines 141-153—causes a transient top-level deactivation). That protection is keyed to Orca's PopupWindow/DropDown subclasses and does not cover the native GTK combo popup used by the preset comboboxes in the Compare presets dialog, so a tooltip on a long preset UUID still steals focus and collapses the list.
Caveats for reproduction on this machine: Xvfb here provides only an X11 session; the documented focus-steal path is Wayland-specific ("X11 tooltips never take the focus", PopupWindow.cpp:160). The bug as reported (KDE) is most likely a Wayland session, which cannot be spun up in this container, so exact end-to-end reproduction is not guaranteed under Xvfb. The logic is still checkable: a small wxGTK harness that opens the presets dialog drop-down and forces a tooltip on a long item, asserting the popup stays open, can exercise the relevant code path.
Recommended area to fix: extend the Wayland tooltip-vs-deactivation guard (or suppress tooltips on the preset drop-down rows) for the native GTK combobox popup path.
Cause
Likely the same class of bug already mitigated in src/slic3r/GUI/Widgets/PopupWindow.cpp:162-168 (topWindowActiavate / own_tooltip_mapped, lines 141-153): on Wayland a GTK tooltip maps as an xdg_popup that steals keyboard focus, the owning top-level reports deactivation, and the popup auto-dismisses. That guard only covers Orca's own wxPopupTransientWindow subclasses (Widgets/DropDown), not the native GTK combo drop-down used by the preset comboboxes in the Compare/Load presets dialog (src/slic3r/GUI/PresetBundleDialog.cpp), so a tooltip appearing over those items still collapses the list. Root cause unconfirmed without a live session.
Triage summary
In the "Compare presets" dialog, hovering a long preset name in a printer/filament/process drop-down creates a tooltip window, which on Linux (KDE) causes the open drop-down to immediately collapse/dismiss.
Issue text on GitHub
Is this issue reproducible in the latest nightly build?
- [x] I have checked the latest nightly build and the issue is still reproducible
Is there an existing issue for this problem?
- [x] I have searched the existing issues
OrcaSlicer Version
2.5.0-dev f92bd811
Regression compared to a previous version
No response
Operating System (OS)
Linux
OS Version
Manjaro
Additional system information
KDE
Printer
n/a
How to reproduce
- Click on a widget which opens a drop-down context menu. For example open the "Compare Presets" window, then expand either the printer, filament or process drop-downs.
- Hover your mouse over any item in the drop-down. The item must be of the type which triggers a tooltip. In my example, the user presets have a long uuid which doesn't fit in the available width, so when I hover over any of them that triggers a tooltip to be created.
Actual results
The tooltip appears for a split second which triggers the drop-down to collapse and disappear.
Expected results
The user is actively interacting with the drop-down, so at no point should the drop-down suddenly disappear.
Project file & Debug log uploads
n/a
Checklist of files to include
- [ ] Log file
- [ ] Project file
Anything else?
https://github.com/user-attachments/assets/0d56fe7b-c4d4-4358-af2f-c0b77508e474
- Area
- gui
- Platform
- linux
- Author
- Beep6581
- Comments
- 1
- Created
- 2026-09-03
Log
- vast-tw took it: reproducevast-tw · 17 min ago
- Worker restarting; back in the queuevast-tw · 18 min ago
- vast-tw took it: reproducevast-tw · 1 h ago
- Worker restarting; back in the queuevast-tw · 1 h ago
- vast-tw took it: reproducevast-tw · 1 h ago
- vast-tw restarted; returned to the queuevast-tw · 1 h ago
- vast-tw took it: reproducevast-tw · 1 h ago
- triage: triagedvast-tw · 1 h ago
- vast-tw took it: triagevast-tw · 1 h ago
- Collected from GitHubpanel · 3 h ago