Skip to content
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

DatePicker and TimePicker opened unexpectedly when navigating back to previous page on Android API 21 and 23 #8130

Closed
renfred opened this issue Jun 16, 2022 · 4 comments
Labels
good first issue Good for newcomers legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor platform/android 🤖 s/triaged Issue has been reviewed s/try-latest-version Please try to reproduce the potential issue on the latest public version t/bug Something isn't working

Comments

@renfred
Copy link

renfred commented Jun 16, 2022

Description

DatePicker and TimePicker opened unexpectedly when navigating back to previous page on Android API 21 and 23.

Execute attached sample on Android 21 or 23 to trigger the issues. This doesn't seem to affect more recent Android versions (tested on API 30).

TimePickerDebug.zip

Steps to Reproduce

Steps to reproduce

  1. Create a new .NET MAUI app (6.0.312 or 6.0.400)
  2. Add a button on MainPage to navigate forward
  3. Add a page (i.e. SecondPage) with DatePicker or TimePicker, and a button to navigate forward.
  4. Add another page (i.e. ThirdPage)
  5. Wire up the navigation from MainPage to SecondPage and then ThirdPage
  6. Run the app on Android API 21 or 23 emulators
  7. After app started, navigate from MainPage to SecondPage, and then ThirdPage.
  8. Navigate backwards from ThirdPage to SecondPage, and observe the bug where the picker dialog opens up unexpectedly.
  9. Click Cancel.
  10. Navigate backwards again from SecondPage to MainPage, and observe the bug where the picker dialog opens up 3 more times.

Expected outcome
The picker dialog does not open up unexpectedly on back navigation.

Version with bug

6.0.400 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 5 (API 21) and Android 7 (API 23)

Did you find any workaround?

No

Relevant log output

No response

@renfred renfred added s/needs-verification Indicates that this issue needs initial verification before further triage will happen t/bug Something isn't working labels Jun 16, 2022
@Eilon Eilon added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Jun 16, 2022
@jfversluis jfversluis added platform/android 🤖 and removed s/needs-verification Indicates that this issue needs initial verification before further triage will happen labels Jun 17, 2022
@jsuarezruiz jsuarezruiz self-assigned this Jun 17, 2022
@jsuarezruiz jsuarezruiz added the good first issue Good for newcomers label Jun 22, 2022
@jsuarezruiz jsuarezruiz removed their assignment Jun 22, 2022
@kristinx0211 kristinx0211 added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Jul 4, 2022
@kristinx0211
Copy link

can be reproduced on android 5.0-API 21.

@PureWeen
Copy link
Member

DatePicker part of this might be resolved by this

@hartez hartez self-assigned this Jul 21, 2022
@hartez hartez removed their assignment Aug 2, 2022
@samhouts samhouts removed s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed labels Apr 5, 2023
@jinxinjuan jinxinjuan added s/triaged Issue has been reviewed s/try-latest-version Please try to reproduce the potential issue on the latest public version labels May 12, 2023
@ghost
Copy link

ghost commented May 15, 2023

Hi @renfred. We have added the "s/try-latest-version" label to this issue, which indicates that we'd like you to try and reproduce this issue on the latest available public version. This can happen because we think that this issue was fixed in a version that has just been released, or the information provided by you indicates that you might be working with an older version.

You can install the latest version by installing the latest Visual Studio (Preview) with the .NET MAUI workload installed. If the issue still persists, please let us know with any additional details and ideally a reproduction project provided through a GitHub repository.

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@jinxinjuan
Copy link

Verified this issue with Visual Studio Enterprise 17.6.0 Preview 7.0. Not repro on android API 23 with TimePickerDebug.zip.

@ghost ghost closed this as completed May 22, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Jun 21, 2023
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor platform/android 🤖 s/triaged Issue has been reviewed s/try-latest-version Please try to reproduce the potential issue on the latest public version t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

9 participants