-
Notifications
You must be signed in to change notification settings - Fork 26.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
☂️ flutter/lifecycle channel support for desktop platforms #103637
Labels
a: desktop
Running on desktop
engine
flutter/engine repository. See also e: labels.
P2
Important issues not at the top of the work list
team-desktop
Owned by Desktop platforms team
triaged-desktop
Triaged by Desktop platforms team
Comments
moko256
added
a: desktop
Running on desktop
engine
flutter/engine repository. See also e: labels.
labels
May 12, 2022
8 tasks
4 tasks
any plans for Macos Desktop ? |
There is a package named 'desktop_lifecycle' is working for macos desktop application. |
flutter-triage-bot
bot
added
multiteam-retriage-candidate
team-desktop
Owned by Desktop platforms team
triaged-desktop
Triaged by Desktop platforms team
labels
Jul 7, 2023
8 tasks
yaakovschectman
added a commit
to flutter/engine
that referenced
this issue
Jul 28, 2023
Use `WM_SIZE, WM_SHOWWINDOW, WM_SETFOCUS, and WM_KILLFOCUS` to update the application lifecycle state on Windows. flutter/flutter#103637 ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read and followed the [Flutter Style Guide] and the [C++, Objective-C, Java style guides]. - [x] I listed at least one issue that this PR fixes in the description above. - [x] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See [testing the engine] for instructions on writing and running engine tests. - [x] I updated/added relevant documentation (doc comments with `///`). - [ ] I signed the [CLA]. - [x] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-new channel on [Discord]. <!-- Links --> [Contributor Guide]: https://github.com/flutter/flutter/wiki/Tree-hygiene#overview [Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene [Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style [testing the engine]: https://github.com/flutter/flutter/wiki/Testing-the-engine [CLA]: https://cla.developers.google.com/ [flutter/tests]: https://github.com/flutter/tests [breaking change policy]: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes [Discord]: https://github.com/flutter/flutter/wiki/Chat --------- Co-authored-by: Brandon DeRosier <bdero@google.com> Co-authored-by: skia-flutter-autoroll <skia-flutter-autoroll@skia.org>
9 tasks
gaaclarke
pushed a commit
to gaaclarke/engine
that referenced
this issue
Aug 30, 2023
…er#43558) Use `WM_SIZE, WM_SHOWWINDOW, WM_SETFOCUS, and WM_KILLFOCUS` to update the application lifecycle state on Windows. flutter/flutter#103637 ## Pre-launch Checklist - [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs. - [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities. - [x] I read and followed the [Flutter Style Guide] and the [C++, Objective-C, Java style guides]. - [x] I listed at least one issue that this PR fixes in the description above. - [x] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See [testing the engine] for instructions on writing and running engine tests. - [x] I updated/added relevant documentation (doc comments with `///`). - [ ] I signed the [CLA]. - [x] All existing and new tests are passing. If you need help, consider asking for advice on the #hackers-new channel on [Discord]. <!-- Links --> [Contributor Guide]: https://github.com/flutter/flutter/wiki/Tree-hygiene#overview [Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene [Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style [testing the engine]: https://github.com/flutter/flutter/wiki/Testing-the-engine [CLA]: https://cla.developers.google.com/ [flutter/tests]: https://github.com/flutter/tests [breaking change policy]: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes [Discord]: https://github.com/flutter/flutter/wiki/Chat --------- Co-authored-by: Brandon DeRosier <bdero@google.com> Co-authored-by: skia-flutter-autoroll <skia-flutter-autoroll@skia.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
a: desktop
Running on desktop
engine
flutter/engine repository. See also e: labels.
P2
Important issues not at the top of the work list
team-desktop
Owned by Desktop platforms team
triaged-desktop
Triaged by Desktop platforms team
The flutter/lifecycle channel is available in Android, iOS, web, but isn't implemented in desktop platforms. This issue tracks PR for each desktop platforms.
With this channel, framework can know whether an app window is visibled or focused.
This feature will unblock #87061.
Related: #30735
SystemChannels.lifecycle docs: https://api.flutter.dev/flutter/services/SystemChannels/lifecycle-constant.html
WidgetsBindingObserver.didChangeAppLifecycleState docs: https://api.flutter.dev/flutter/widgets/WidgetsBindingObserver/didChangeAppLifecycleState.html
The text was updated successfully, but these errors were encountered: