Skip to content

Winit: Implement native popup#11313

Draft
Murmele wants to merge 37 commits intoslint-ui:features/winit-0.31from
Murmele:mm/features/winit-0.31-popup
Draft

Winit: Implement native popup#11313
Murmele wants to merge 37 commits intoslint-ui:features/winit-0.31from
Murmele:mm/features/winit-0.31-popup

Conversation

@Murmele
Copy link
Copy Markdown
Contributor

@Murmele Murmele commented Apr 9, 2026

Fixes:

@ogoffart ogoffart changed the base branch from master to features/winit-0.31 April 9, 2026 09:46
@Murmele Murmele force-pushed the mm/features/winit-0.31-popup branch from 12d3072 to 04fbb8c Compare April 10, 2026 11:38
Murmele added 2 commits April 10, 2026 13:46
Reason: Previously always the main window adapter is used for popups as well. This is not correct, because then acting on the wrong renderer caches is done and the application might crash or memory gets not freed. To solve this problem. Showing the popup is split up in multiple steps. 1) Creating the window adapter for the popup if possible. 2) Assigning this window adapter to the popup instance so that the tree will be setup with the newly created window adapter. 3) Determine the popup location and show the created popup
@Murmele Murmele force-pushed the mm/features/winit-0.31-popup branch from 6aa4606 to bb05f92 Compare April 10, 2026 11:46
Murmele added 10 commits April 15, 2026 11:37
Reason: Otherwise determining if the window should have fixed size or should use the children layout constraints is not possible
Reason: With the changes in 65929d4 the popup has it's own layout constraints and therefore the constraints get projected to the width and height
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