Skip to content

Conversation

@leolost2605
Copy link
Member

@leolost2605 leolost2605 commented Oct 9, 2025

Closes #2353

Introduce a window list model that allows us to collect the filtering and sorting code for different views of the current window list in a single place

Since this window list model now also guarantees that all windows that appear in it have a valid actor i.e. get_compositor_private won't return null this will allow for a bunch of clean up in a follow up :)

This should also help quite a bit with #2522 to allow more deduplication there

@leolost2605 leolost2605 changed the title Leolost/window list model full Introduce a WindowListModel Oct 9, 2025
@leolost2605 leolost2605 marked this pull request as ready for review October 9, 2025 15:02
@leolost2605
Copy link
Member Author

This should be ready for review now and thorough testing would be appreciated :)

@leolost2605 leolost2605 requested a review from a team October 9, 2025 15:17
@leolost2605 leolost2605 marked this pull request as draft October 10, 2025 15:15
@leolost2605 leolost2605 marked this pull request as ready for review October 10, 2025 15:28
Copy link
Member

@lenemter lenemter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great! I always wanted to get rid of these endless signal chains in multitasking view code. I left 2 questions/suggestions. Once they're resolved I'll be happy to merge this

@leolost2605 leolost2605 requested a review from lenemter October 12, 2025 13:03
Copy link
Member

@lenemter lenemter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for implementing this!

@lenemter lenemter merged commit 76b5800 into main Oct 13, 2025
6 checks passed
@lenemter lenemter deleted the leolost/window-list-model-full branch October 13, 2025 18:19
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.

3 participants