Bug 12521 - iOS sample 'CustomCollectionViewLayoutAttributes', on rotating device to landscape application throws exception.
Summary: iOS sample 'CustomCollectionViewLayoutAttributes', on rotating device to land...
Status: VERIFIED FIXED
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 0.x Insider Preview
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Marek Habersack
URL:
Depends on:
Blocks:
 
Reported: 2013-06-03 11:29 UTC by narayanp
Modified: 2013-06-06 07:08 UTC (History)
6 users (show)

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

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 on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description narayanp 2013-06-03 11:29:02 UTC
Step to reproduce:
1. Open sample CustomCollectionViewLayoutAttributes in VS
2. Run the application
3. Observe that application deploy successfully on the device
4. Change the view of the device to Landscape

Actual result:
On changing the view from portrait to landscape, application throws exception.

Expected result:
On changing the view from portrait to landscape, application should not throw exception.
  
Application output: https://gist.github.com/atin360/163c433647a29bd1433c
Mac Server Log: https://gist.github.com/atin360/895435faa9c8078a2911

App info:
monotouch-samples-master-7c7195b7c07157addf7f6a37ae29fce072ca3346

Environment details:
VS 2010/12
MTVS 1.2.109
MT 6.2.6.6 server
Xcode 4.6.2
Device info: ipad2 6.0.1

Note: This issue also exist with simulator
Regression status: NOT REGRESSION, We have checked this with stable mtvs 1.1.200
Comment 1 PJ 2013-06-03 12:52:18 UTC
Fixed in monodroid-samples/master 9967fef

The sample is now restricted to portrait only.
Comment 2 PJ 2013-06-03 12:53:03 UTC
CORRECTION: monotouch-samples/master 9967fef (not monodroid). Apologies for the confusion.
Comment 3 Nischal 2013-06-06 07:08:30 UTC
Today we have checked this issue with following builds:

All Windows
MountainLion 10.8.3
Lion 10.7.4
VS 2012/2010
MTVS 1.2.118
Xamarin.iOS 6.2.6.6

Application working fine after changing the view from portrait to landscape or landscape to Portrait for both device and iOS Simulator.

Changing the status  to Verified.