Bug 27705 - Xamarin.Forms.Platform.WinPhone.ViewToRendererConverter+WrapperControl should not return infinity or nan from MeasureOverride
Summary: Xamarin.Forms.Platform.WinPhone.ViewToRendererConverter+WrapperControl should...
Status: RESOLVED NORESPONSE
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.3.5
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-03-05 10:51 UTC by gmurray
Modified: 2016-04-08 20:03 UTC (History)
7 users (show)

Tags: windows
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 NORESPONSE

Description gmurray 2015-03-05 10:51:38 UTC
I think some logic added in 1.3.5 will result in Xamarin.Forms.Platform.WinPhone.ViewToRendererConverter+WrapperControl
returning NaN or Infinity from MeasureOverride if available size is Infinity, Infinity.
It shouldn't do this, since WP/SL/WPF will throw exceptions if you try to request an invalid size, even if you are told you can take infinite space. 
This usually occurs when measuring floating content such as a tooltip, which has no explicit constraining space.
Comment 1 Parmendra Kumar 2015-06-04 08:51:05 UTC
I have checked this issue but not able to reproduce it. Could you please provide us sample project, IDE Log? So that I can reproduce it at our end.

Environment info:

Xamarin Studio Version 5.9.2 (build 2)
Xcode 6.2 (6776)
Xamarin.iOS Version: 8.10.1.64 (Enterprise Edition)
Xamarin.Android Version: 5.1.2.1 (Enterprise Edition)
Xamarin.Mac Version: 2.0.1.64 (Enterprise Edition)
Mac OS X 10.9.4
Comment 2 Bryan Hunter 2016-04-08 20:03:48 UTC
Thank you for your bug report. As we have not received the information requested, we cannot properly triage your bug and are marking it resolved.

Warm regards,
Xamarin Forms Team