Bug 43435 - Slider crashes when minimum value greater than zero and set before Max value in XAML
Summary: Slider crashes when minimum value greater than zero and set before Max value ...
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.3.1
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Stephane Delcroix
Depends on:
Reported: 2016-08-16 19:31 UTC by E.Z. Hart [MSFT]
Modified: 2018-03-14 18:19 UTC (History)
5 users (show)

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

Repro project (279.26 KB, application/x-zip-compressed)
2016-08-16 19:31 UTC, E.Z. Hart [MSFT]

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:

Description E.Z. Hart [MSFT] 2016-08-16 19:31:40 UTC
Created attachment 17060 [details]
Repro project

To reproduce:
Open the attached project and run it - everything is fine.
In SliderDemo.XAML, uncomment line 7 and run the project - the app will crash with "System.ArgumentException: Value was an invalid value for Minimum"

The difference between the working and crashing versions is the order of the Minimum and Maximum properties in the XAML. Note that if Minimum is set to zero, the order is no longer an issue.
Comment 1 Paul Brenner 2018-02-21 20:58:06 UTC
See https://github.com/xamarin/Xamarin.Forms/issues/1943
Comment 2 Samantha Houts [MSFT] 2018-03-14 18:19:57 UTC
Please follow the issue on GitHub for updates. Thanks!