Bug 18307 - Supported Device Orientations are not being populated when editing Info.plist or project properties.iOSApplication
Summary: Supported Device Orientations are not being populated when editing Info.plist...
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS ()
Version: 1.10.x
Hardware: PC Windows
: High normal
Target Milestone: 3.1
Assignee: vsx
Depends on:
Reported: 2014-03-11 19:08 UTC by curtis.harrison@wavetronix.com
Modified: 2014-07-19 06:21 UTC (History)
6 users (show)

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:

Description curtis.harrison@wavetronix.com 2014-03-11 19:08:47 UTC
Description of Problem:

Supported Device Orientations are not being loaded

Steps to reproduce the problem:
1. On a Windows machine, open Visual Studio 2013
2. Open an iOS Universal project
3. Double Click the 'Info.plist file in Solution Explorer
4. Click the 'iPad Deployment Info' tab on the left of the screen.
5. Notice that all 'Supported Device Orientations' are disabled for iPad
6. Click each orientation to enable it.
7. Save the Info.plist file
8. Close the Info.plist file
9. Repeat steps 3-5 above.  The 'Supported Device Orientations' were never read from the 'Info.plist' file.

Alternatively, steps 3-4 can be replaced by the following:
3. Right click on the project and select Properties
4. Click the 'iOS Application' tab on the left of the screen and scroll down to the iPad Deployment Info Supported Device Orientations

Actual Results:
I should be able to save my Supported Device Orientations and when opening the file again, be able to see those changes still.

Expected Results:
I ALWAYS see all iPad orientations disabled even after enabling and saving them.

How often does this happen? 
Every single time I open Info.plist from within Visual Studio 2013 from my Windows operating system.

Additional Information:

This bug was reported a few months ago by me.  It was fixed in a previous version and has now resurfaced.  Please send me an e-mail when the fixed version arrives.

It should be noted that when you change the Supported Device Orientations, your changes ARE saved.  However, when you attempt to open the file again, it does not properly set the images.  So if you just save it after opening it, you will inadvertently disable all orientations for iPad.
Comment 1 Tajinder Singh 2014-03-12 02:39:08 UTC
Today I have checked this issue with the following builds:

VS 2012/2013
X.iOS 1.10.47

I am also able to reproduce this issue and not able to save device orientations for iPad while on selecting iphone/ipod it is working fine.Hence confirming this issue.
Comment 2 Jose Miguel Torres 2014-07-19 06:20:52 UTC
That bug was fixed on earlier version. Just tested on XVS 3.1.224.