Files
OrcaSlicer/src
SoftFever b665e0f4e0 Keep dropdown lists open on Wayland when an item's tooltip appears (#16813)
# Description

On Linux under Wayland, resting the pointer on a filament, printer or
process preset whose name is cut off closed the whole dropdown list just
as the tooltip with the full name was about to appear, and the terminal
logged `Tried to unmap the parent of a popup`. The list now stays open
and the tooltip shows the full name, as it does for preset descriptions.
The orca-wxwidgets skill gains the matching rule for popups on Wayland.

Fixes #16800

Only Linux under Wayland is affected; X11, Windows and macOS behave as
before. One edge case remains on Wayland: if another app takes the focus
while an item's tooltip is showing, the list stays open until you return
to OrcaSlicer, where the first click closes it.

# Screenshots/Recordings/Graphs

<!--
> Please attach relevant screenshots to showcase the UI changes.
> Please attach images that can help explain the changes.
-->

## Tests

Checked by hand on KDE Plasma (Wayland, GTK 3.24.52) against a build
without the fix. Resting on a truncated preset or on one with a
description used to close the list when its tooltip appeared; the list
now stays open with the tooltip and no GDK warning. Opening a vendor
sub-list after a tooltip, moving quickly between rows, scrolling,
clicking outside, and another app taking the focus with no tooltip
showing all behave as before, and X11 is unchanged.

<!--
> A guide for users on how to download the artifacts from this PR.
-->

[How to Download Pull Requests Artifacts for
Testing](https://www.orcaslicer.com/wiki/how_to_download_pr_artifacts)
2026-10-24 02:54:35 +08:00
..