Bug 43066 - [Android] Resize issues after navigating back to a page when the keyboard is up.
Summary: [Android] Resize issues after navigating back to a page when the keyboard is up.
Status: CONFIRMED
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 2.3.1
Hardware: PC Other
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-08-04 19:29 UTC by Will Smith
Modified: 2016-08-17 22:04 UTC (History)
3 users (show)

Tags: Android ac
Is this bug a regression?: ---
Last known good build:


Attachments
Example project reproducing the issue. One image is right be navigating back. The second image is after you navigate back, and you see the resize issue. (107.01 KB, application/x-zip-compressed)
2016-08-04 19:29 UTC, Will Smith
Details
Updated to 3.1 (40.67 KB, application/x-zip-compressed)
2016-08-05 13:44 UTC, Will Smith
Details
Updated to 3.2 pre (40.70 KB, application/x-zip-compressed)
2016-08-05 13:45 UTC, Will Smith
Details
Repro project (2.3.1.114) (93.71 KB, application/x-zip-compressed)
2016-08-17 22:04 UTC, E.Z. Hart [MSFT]
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 43066 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description Will Smith 2016-08-04 19:29:47 UTC
Created attachment 16904 [details]
Example project reproducing the issue. One image is right be navigating back. The second image is after you navigate back, and you see the resize issue.

I've provided screenshots of the bug in the attached zip file as well as an the example project used to reproduce the issue.

I am having resize issues after navigating back to a page when the keyboard is up.

Been trying to tackle this bug on my own for a couple of days now. It seems to be something internally with forms as I cannot reproduce it in a native android app even with the same way FormsAppCompatActivity uses the FragmentManager. Currently, this is a bit critical.

Steps to reproduce:
1) Open the attached zip file.
2) Open AndroidBlankSpaceForms.sln. 
3) Build and run the AndroidBlankSpaceForms.Droid project on a device (preferably a lower-end device).
4) Once the app loads, tap on "Next Page".
5) Next, select one of the entry controls on the page you navigated to.
6) While the keyboard is up, press the back arrow on the action bar.
7) When you are back to the first page, you should see the first page not properly resized.

If you are having issues reproducing this bug, increase the 'number' variable in App.cs to something like a 1000.
Comment 1 Rui Marinho 2016-08-05 11:39:20 UTC
This is fixed in 2.3.1. Please update packages of your test project.
Comment 2 Will Smith 2016-08-05 13:44:40 UTC
Created attachment 16915 [details]
Updated to 3.1
Comment 3 Will Smith 2016-08-05 13:45:03 UTC
Created attachment 16916 [details]
Updated to 3.2 pre
Comment 4 Will Smith 2016-08-05 13:45:59 UTC
I thought the proj was in 3.1. I'm sorry.

I uploaded two new ones, one for 3.1 and one for 3.2 pre. Both, the bug still occurs.
Comment 5 E.Z. Hart [MSFT] 2016-08-17 22:04:05 UTC
Created attachment 17093 [details]
Repro project (2.3.1.114)
Comment 6 E.Z. Hart [MSFT] 2016-08-17 22:04:43 UTC
Confirmed at version 2.3.1.114; added updated and function repro project.