Bug 42569 - [xamu] Changing UILabel font size can make next designer button clicks not work
Summary: [xamu] Changing UILabel font size can make next designer button clicks not work
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: iOS Designer ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2016-07-14 20:31 UTC by Adam Patridge [MSFT]
Modified: 2017-07-13 00:35 UTC (History)
7 users (show)

Tags: ac vs
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 for Bug 42569 on Developer Community if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.
Related Links:

Description Adam Patridge [MSFT] 2016-07-14 20:31:22 UTC
NOTE: This seems to affect all buttons within the iOS Designer window except the "VIEW AS" device drop down.

One example:
If I select a fully constrained label and modify its font size in the Properties pad under Label > Font [click] > Size, the control goes orange to indicate the runtime frame doesn't match the designer frame. But at that point, trying to click on the "Update frames based on constraints" button doesn't work. You need to click elsewhere first. Just about anywhere but the font property pop-up seems to work, you can even Cmd+Tab away and back and click it. You can even try the first click, then mouse away and back again, and the click works. Attempting to click that button does make the font properties pop-up go away, but it doesn't seem to allow button clicks until you click elsewhere first (or mouse out and back after the first click attempt).

Repro Steps:
1. new single view app
2. open storyboard
3. add label
4. constrain leading to left
5. constrain top to top layout guide
6. modify font size
7. without clicking anywhere else, try to click "Update frames based on constraints" button (additional clicks without moving the mouse will also not work)

8. mouse over "Remove existing constraints", but don't click it
9. return cursor to "Update frames based on constraints" button
10. click
Comment 1 Pierce Boggan [MSFT] 2017-07-11 17:48:47 UTC
Thanks so much for taking the time to submit this report! I can confirm using the latest Visual Studio 2017 Preview version 15.3 I am able to reproduce this issue. Marking this report as CONFIRMED.
Comment 2 Kent Green [MSFT] 2017-07-13 00:35:42 UTC
I've tested this in Visual Studio for Mac, and I do not reproduce the issue; "Update frames based on constraints" works when used immediately after resizing. 

=== Visual Studio Community 2017 for Mac (Preview) ===

Version 7.1 Preview (7.1 build 583)
Installation UUID: 42f9117b-22e2-4aaa-8fa1-535faf6d64a4
	Mono (2017-04/4a0006f) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 502000104

=== NuGet ===


=== .NET Core ===

Runtime: Not installed
SDK: Not installed
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/msbuild/15.0/bin/Sdks

=== Xamarin.Profiler ===

'/Applications/Xamarin Profiler.app' not found

=== Apple Developer Tools ===

Xcode 8.3.3 (12175.1)
Build 8E3004b

=== Xamarin.iOS ===

Version: (Visual Studio Community)
Hash: 7571635e
Branch: master
Build date: 2017-05-09 16:04:54-0400

=== Xamarin.Android ===

Version: (Visual Studio Community)
Android SDK: /Users/kentgreen/Library/Android/sdk
	Supported Android versions:
		7.1 (API level 25)

SDK Tools Version: 26.0.2
SDK Platform Tools Version: 26.0.0
SDK Build Tools Version: 26.0.0

Java SDK: /usr
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)

Android Designer EPL code available here:

=== Xamarin Inspector ===

Version: 1.3.0-alpha2
Hash: fa030e0
Branch: master
Build date: Thu, 01 Jun 2017 20:55:26 GMT
Client compatibility: 1

=== Xamarin.Mac ===

Version: (Visual Studio Community)

=== Build Information ===

Release ID: 701000583
Git revision: 445a7f09feca58babb966e0c66a6b299d0bd450c
Build date: 2017-05-12 16:05:38-04
Xamarin addins: f9b72ca5f6ca5d9476d8f58353ada2afd56c549b
Build lane: monodevelop-lion-d15-3-preview

=== Operating System ===

Mac OS X 10.12.5
Darwin 16.6.0 Darwin Kernel Version 16.6.0
    Fri Apr 14 16:21:16 PDT 2017
    root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64