This is Xamarin's bug tracking system. For product support, please use the support links listed in your Xamarin Account.
Bug 43516 - [UWP] Changing FontAttribute on a label to NONE changes font size as well
Summary: [UWP] Changing FontAttribute on a label to NONE changes font size as well
Status: RESOLVED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms (show other bugs)
Version: 2.3.1
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-08-18 18:03 UTC by mbdbk22
Modified: 2017-03-29 18:44 UTC (History)
3 users (show)

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


Attachments
Reproducing Project (276.88 KB, application/x-zip-compressed)
2016-08-18 18:03 UTC, mbdbk22
Details

Description mbdbk22 2016-08-18 18:03:33 UTC
Created attachment 17105 [details]
Reproducing Project

=== Overview ===
Label items with no explicit font size (i.e. using the default size) change font size when FontAttributes are changed to NONE from either bold or italic.

I've attached a reproducing project

NOTE: This may be related to https://bugzilla.xamarin.com/show_bug.cgi?id=42517

=== Steps to Reproduce  ===
Run the attached repro project OR

1. Create a Forms shared project
2. Add a label with no explicit font size and FontAttribute=Bold
3. Change FontAttribute to None


=== Expected Behavior ===
The font size should remain the same

=== Actual Behavior ===
The font size is actually quite a bit larger

=== Visual Studio===
Microsoft Visual Studio Community 2015
Version 14.0.25425.01 Update 3
Microsoft .NET Framework
Version 4.6.01586

Installed Version: Community

Visual Basic 2015   00322-20000-00000-AA412
Microsoft Visual Basic 2015

Visual C# 2015   00322-20000-00000-AA412
Microsoft Visual C# 2015

Visual C++ 2015   00322-20000-00000-AA412
Microsoft Visual C++ 2015

Application Insights Tools for Visual Studio Package   7.2.00808.2
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2015 (RC1 Update 1)   14.1.20203.0
ASP.NET and Web Tools 2015 (RC1 Update 1)

ASP.NET Web Frameworks and Tools 2012.2   4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563

ASP.NET Web Frameworks and Tools 2013   5.2.40314.0
For additional information, visit http://www.asp.net/

AWS Toolkit for Visual Studio 2015   1.9.6.19
AWS Toolkit for Visual Studio 2015.
Copyright 2011-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.

This software includes third party software subject to the following copyrights:
- Logging from log4net, Apache License 
  [http://logging.apache.org/log4net/license.html]
- Putty for PPK to PEM conversion, MIT license 
  [http://www.chiark.greenend.org.uk/~sgtatham/putty/licence.html]
- NGit for AWS Elastic Beanstalk incremental push
  [https://github.com/mono/ngit/blob/master/NGit.license.txt]
- NSch dependency for NGit
  [https://github.com/mono/ngit/blob/master/NSch.license.txt]
- Sharpen dependency for NGit
  [https://github.com/mono/ngit/blob/master/Sharpen/AssemblyInfo.cs]
- ICSharpCode.SharpZipLib dependency for NGit
  [http://www.icsharpcode.net/opensource/sharpziplib/]
- Mono.Posix.dll and Mono.Security.dll dependencies for NGit
  [http://mono-project.com/FAQ:_Licensing#Licensing]
- MPFProj for Visual Studio Project Framework
  [http://mpfproj10.codeplex.com/license]
- JSON Checker for JSON validation
  [http://www.raboof.com/projects/jsonchecker/]

Azure App Service Tools v2.7.1   14.0.11112.0
Azure App Service Tools v2.7.1

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

JavaScript Language Service   2.0
JavaScript Language Service

JavaScript Project System   2.0
JavaScript Project System

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

NuGet Package Manager   3.4.4
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.

SQL Server Data Tools   14.0.60519.0
Microsoft SQL Server Data Tools

TypeScript   1.8.36.0
TypeScript tools for Visual Studio

Visual Studio Tools for Universal Windows Apps   14.0.25527.01
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

Xamarin   4.1.2.18 (fcbe082)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android   6.1.2.21 (1cf254d)
Visual Studio extension to enable development for Xamarin.Android.

Xamarin.iOS   9.8.2.22 (f37444a)
Visual Studio extension to enable development for Xamarin.iOS.


=== Operating System ===

Windows 10 Pro Version 1607 Build 14393.51
Comment 1 Samantha Houts 2017-03-29 18:44:12 UTC
Should be fixed in 2.3.3. Thank you!

Note You need to log in before you can comment on or make changes to this bug.