Skip to content

Windows message loop manager#9614

Merged
mattleibow merged 15 commits into
mainfrom
dev/window-manager
Aug 26, 2022
Merged

Windows message loop manager#9614
mattleibow merged 15 commits into
mainfrom
dev/window-manager

Conversation

@mattleibow
Copy link
Copy Markdown
Member

@mattleibow mattleibow commented Aug 23, 2022

Description of Change

Many parts of WinUI window features require injection of a proc into the main message loop. Right now we have bits in Essentials and Core. Also, to get min/max sizes for #4942, we need to set some values in some structs in the message, loop.

To fix all this and to remove the large amount of duplicate code, I am creating a central location that allows for a single message proc to be injected, and then everyone [un]subscribes to the event and responds appropriately.

Tasks:

  • Core
    • MauiWinUIWindow
  • Essentials
    • AppInfo
    • DeviceDisplay
    • Device Tests

@mattleibow mattleibow added this to the 7.0-rc1 milestone Aug 23, 2022
@mattleibow mattleibow added platform/windows area-core-lifecycle XPlat and Native UIApplicationDelegate/Activity/Window lifecycle events legacy-area-desktop Windows / WinUI / Project Reunion & Mac Catalyst / macOS specifics (Menus & other Controls)) labels Aug 23, 2022
@mattleibow mattleibow self-assigned this Aug 23, 2022
@mattleibow mattleibow marked this pull request as draft August 23, 2022 20:51
@mattleibow mattleibow mentioned this pull request Aug 23, 2022
25 tasks
@mattleibow mattleibow requested a review from Redth August 24, 2022 16:38
@mattleibow mattleibow marked this pull request as ready for review August 24, 2022 20:53
@mattleibow mattleibow changed the title Initial code to support the window manager Windows message loop manager Aug 24, 2022
@PureWeen PureWeen self-requested a review August 26, 2022 16:11
@mattleibow mattleibow merged commit abd82aa into main Aug 26, 2022
@mattleibow mattleibow deleted the dev/window-manager branch August 26, 2022 19:40
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 17, 2023
@Eilon Eilon added t/desktop The issue relates to desktop scenarios (MacOS/MacCatalyst/Windows/WinUI/WinAppSDK) and removed legacy-area-desktop Windows / WinUI / Project Reunion & Mac Catalyst / macOS specifics (Menus & other Controls)) labels May 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-core-lifecycle XPlat and Native UIApplicationDelegate/Activity/Window lifecycle events fixed-in-7.0.0-rc.1.6683 platform/windows t/desktop The issue relates to desktop scenarios (MacOS/MacCatalyst/Windows/WinUI/WinAppSDK)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants