Skip to content

Native Popup (Qt): Fix closing popup from another popup#11689

Open
Murmele wants to merge 23 commits into
slint-ui:masterfrom
Murmele:mm/popup_close
Open

Native Popup (Qt): Fix closing popup from another popup#11689
Murmele wants to merge 23 commits into
slint-ui:masterfrom
Murmele:mm/popup_close

Conversation

@Murmele
Copy link
Copy Markdown
Contributor

@Murmele Murmele commented May 11, 2026

To close a popup we have to use the correct window adapter which created the popup otherwise the popup will not be close

For example if a root window creates a popup. The window adapter of the root window is used as window adapter and the popup is registered there. If we close the popup with the popup it self, we need to use the window adapter of the root window and not of the popup

  • Rust
  • CPP
  • Interpreter

@Murmele Murmele requested a review from ogoffart May 11, 2026 17:02
Comment thread internal/compiler/generator/cpp.rs Outdated
@Murmele Murmele marked this pull request as ready for review May 19, 2026 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant