Bug 34318 - Can not set margin lower after wider margin has been set
Summary: Can not set margin lower after wider margin has been set
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android Designer ()
Version: unspecified
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-09-26 13:52 UTC by Cody Beyer (MSFT)
Modified: 2017-07-10 14:40 UTC (History)
5 users (show)

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


Attachments
Zip Xamarin Logs (1.18 KB, application/zip)
2015-12-02 11:53 UTC, Arpit Jha
Details


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:
RESOLVED NOT_REPRODUCIBLE

Description Cody Beyer (MSFT) 2015-09-26 13:52:22 UTC
### Description

The following video demonstrates an issue, where the margin of an Android control can not be set lower than the previously set point. 

### Video

https://www.dropbox.com/s/vmi0x9fzdnbui8n/ScreenCapture.wmv?dl=0

### Steps to Reproduce

1. Create blank Android project
2. Add Button
3. Ensure that the width of the element is not set to match parent
4. Use the margin tool to extend the margin of the element
5. Click away to set the margin
6. Attempt to make the margin smaller than the previously set point

### Expected Results

The margin should be variable to the width of the control

### Actual Results

The margin can not be made smaller than the previously set point

### Version

Microsoft Visual Studio Professional 2015
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Version 4.6.00079

Installed Version: Professional

Visual Basic 2015   00322-40000-00000-AA453
Microsoft Visual Basic 2015

Visual C# 2015   00322-40000-00000-AA453
Microsoft Visual C# 2015

Visual C++ 2015   00322-40000-00000-AA453
Microsoft Visual C++ 2015

Visual F# 2015 RC   00322-40000-00000-AA453
Microsoft Visual F# 2015 RC

Application Insights Tools for Visual Studio Package   1.0
Application Insights Tools for Visual Studio

Common Azure Tools   1.5
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

GenerateUnitTest   1.0
Generates unit test code for methods in classes under test.

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

NuGet Package Manager   3.0.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

Xamarin   3.11.1443.0 (39031d3)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   5.1.6.7 (58099c5358da3488b0e7fb0bb4af47aca7cc61d6)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.Forms Intellisense   1.0
Provides intellisense for Xamarin.Forms in the XML editor.

Xamarin.iOS   9.0.1.0 (7eaf3bc2053ad0d4f720422bb3dc13504d61f7b5)
Visual Studio extension to enable development for Xamarin.iOS.

Xamarin.iOS Unified Migration   1.0
Automated migration for Xamarin iOS Classic projects to Unified

Xamarin.TestCloud.Integration   1.0
Early preview of Xamarin Test Cloud integration
Comment 1 Arpit Jha 2015-12-02 11:53:48 UTC
Created attachment 14072 [details]
Zip Xamarin  Logs

I have checked this issue with latest C6SR0 Xamarin.VisualStudio_4.0.0.1698_33468dc2f71de2300bd5b5187ecda60537412e71 and able to reproduce this issue with the help of bug description.

Observation: User is not able to set smaller margin once has been set.

Supplement Info:
Screencast: http://www.screencast.com/t/3i4COddPv

Environment Info:
Microsoft Visual Studio Professional 2013
Version 12.0.40629.00 Update 5
Microsoft .NET Framework
Version 4.5.51641

Installed Version: Professional

Xamarin   4.0.0.1698 (33468dc)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   6.0.0.38 (f30ac1a)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.iOS   9.2.1.51 (3c0ec35)
Visual Studio extension to enable development for Xamarin.iOS.
Comment 2 Pierce Boggan [MSFT] 2017-07-10 14:40:59 UTC
Thanks so much for taking the time to submit this report! I attempted to reproduce this issue based on the bug description with the latest Visual Studio 2017 Preview version 15.3, and I was unable to hit the problem. If this issue is still occurring for you, please reopen this report and attach a reproduction, ideally starting with a new template project and then adding just the code necessary to demonstrate the issue.