Bug 23071 - [CoreMidiSample] First header missing from every page in sample with Unified API on device
Summary: [CoreMidiSample] First header missing from every page in sample with Unified ...
Status: RESOLVED INVALID
Alias: None
Product: iOS
Classification: Xamarin
Component: Samples ()
Version: XI 8.0.0
Hardware: PC Mac OS
: --- normal
Target Milestone: old unified preview
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2014-09-16 17:07 UTC by Christopher Blackman
Modified: 2014-09-17 11:16 UTC (History)
2 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 or GitHub 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:
RESOLVED INVALID

Description Christopher Blackman 2014-09-16 17:07:35 UTC
When running the sample "CoreMidiSample" from the unified_api branch, the first section header is missing from every RootElement is missing, such as the section header "Hardware" that should appear at the top of the first view (right below the app title in the nav bar). 

Steps to reproduce:
- Checkout the repo 'monotouch-samples' on the branch 'unified_api'
- Open the project CoreMidiSample in Xamarin Studio
- Build and run the project on a device
- Observe the first page that shows up

Expected result:
The section header "HARDWARE" should appear above the label "Endpoints (1, 1)"

Actual result:
There is no section header marked "HARDWARE," the space above the label "Endpoints (1, 1)" is empty.

Environment info: https://gist.github.com/ChrisBlackman/55cdf9e3919c7ebc71e7

Additional info:
The first section header from every other page is missing as well, not just from the first page. The section headers appear correctly on the simulator, but not on devices. When running the sample from from the master branch, it works correctly on both devices and simulators. I looked at the code between the 'unified_api' and 'master' branches, and there are very few differences besides some namespace differences and some casting in 'unified_api.'

Tested on:
iPhone 5 iOS 7.1.2
iPad Mini (1st gen) iOS 7.1
Comment 1 Christopher Blackman 2014-09-16 17:46:44 UTC
Some more info. This issue only occurs when the sample is not built with llvm.
Comment 2 Sebastien Pouliot 2014-09-16 18:02:14 UTC
At this stage we're not backporting any unified fixes to 8.0 (which I assume you're using based on the above fields*). OTOH it's still possible (short window) to have fixes in 8.2. 

Could you update to it and try again** ?


* it would be nice to get a more complete picture of the software you're using when filing bugs. 

The easiest way to get exact version information is to use the "Xamarin Studio" menu, "About Xamarin Studio" item, "Show Details" button and copy/paste the version informations (you can use the "Copy Information" button).

** There's already many fixes (e.g. newer mono) so it might already be fixed.
Comment 3 Christopher Blackman 2014-09-17 11:16:33 UTC
Just tried it in 8.2 and it works correctly.

I had included my info as a gist in the original bug report: https://gist.github.com/ChrisBlackman/55cdf9e3919c7ebc71e7

Thanks, I'll close the bug.