Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

[Windows] Migrate runner to latest stable template #860

Merged
merged 2 commits into from
Jan 10, 2023

Conversation

loic-sharma
Copy link
Member

I'm preparing docs on how to migrate an existing Windows app to support dark title bars. These docs will use the Flutter Gallery as an example.

This change migrates the Windows runner to the latest stable template (dark title bar support is only in the master channel currently). This prepares the Flutter Gallery for the dark title bar migration, which will be done in separate pull request.

Part of flutter/flutter#107926

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read the Flutter Style Guide recently, and have followed its advice.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@loic-sharma loic-sharma marked this pull request as ready for review January 10, 2023 18:17
Copy link
Member

@cbracken cbracken left a comment

Choose a reason for hiding this comment

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

LGTM stamp from a Japanese personal seal

}
FreeLibrary(user32_module);
Copy link
Member

Choose a reason for hiding this comment

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

I'm curious when user32_module would be non-null but enable_non_client_dpi_scaling would be null. I suppose if somehow we got a hold of a User32.dll that somehow didn't implement that function. Probably unlikely, but this is definitely the right change to make.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yup that's right. EnableNonClientDpiScaling was added in Windows 10, so I believe this affects Windows 7 and 8 users.

@loic-sharma loic-sharma merged commit e59aa94 into flutter:main Jan 10, 2023
@loic-sharma loic-sharma deleted the windows-migrate branch January 10, 2023 18:46
@loic-sharma loic-sharma mentioned this pull request Jan 10, 2023
8 tasks
loic-sharma added a commit that referenced this pull request Jan 10, 2023
I incorrectly removed the Windows app icon in #860.

Part of flutter/flutter#107926
Seven-112 pushed a commit to Seven-112/gallery that referenced this pull request May 16, 2023
I incorrectly removed the Windows app icon in flutter/gallery#860.

Part of flutter/flutter#107926
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants