Essentials icon indicating copy to clipboard operation
Essentials copied to clipboard

[Bug] DeviceDisplay.MainDisplayInfoChanged not fired if app is in background (Android)

Open AlleSchonWeg opened this issue 3 years ago • 1 comments

Description

If an app, which registered the DeviceDisplay.MainDisplayInfoChanged event, is in background and you rotate the device the event is not fired. Even if the app comes to foreground again.

iOS works as expected.

Steps to Reproduce

See description.

Expected Behavior

DeviceDisplay.MainDisplayInfoChanged event should be raised when app comes back to foreground.

Actual Behavior

DeviceDisplay.MainDisplayInfoChanged is never raised.

Basic Information

  • Version with issue:
  • Last known good version:
  • IDE: VS 2022
  • Platform Target Frameworks: Android
    • iOS:
    • Android: 12
    • UWP:
  • Android Support Library Version:
  • Nuget Packages: Essentials Version 1.7.1
  • Affected Devices: Tested with simulator API 24

Screenshots

Reproduction Link

AlleSchonWeg avatar Feb 28 '22 14:02 AlleSchonWeg

+1

rs-mobitech avatar Aug 10 '22 16:08 rs-mobitech

https://github.com/dotnet/maui/issues/20305

AlleSchonWeg avatar Feb 02 '24 11:02 AlleSchonWeg