Bug 20652 - Constraints are not always shown for Views they reference
Summary: Constraints are not always shown for Views they reference
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS Designer ()
Version: 5.0.1
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: master
Assignee: Vinicius Jarina
URL:
Depends on:
Blocks:
 
Reported: 2014-06-17 09:22 UTC by F Masolijn
Modified: 2015-08-28 17:13 UTC (History)
7 users (show)

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


Attachments
Two screenshots (711.09 KB, application/x-zip-compressed)
2014-06-17 09:22 UTC, F Masolijn
Details
Screen capture of unexpected constraint behaviour (6.30 MB, video/quicktime)
2014-08-27 05:44 UTC, Ryan
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 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 FIXED

Description F Masolijn 2014-06-17 09:22:55 UTC
Created attachment 7088 [details]
Two screenshots

In XS iOS Designer. Some constraints are always shown in the layout-section of the Properties Pad.
Some others are not. The only constraints I've always seen shown are those referencing SuperView or Width or Height. The others tend to be hit and miss whether they're shown.
Comment 1 Prashant manu 2014-07-21 09:54:15 UTC
We have checked and not observing this behavior. Added constraints are appearing in the layout-section of the Properties Pad.

Could you please provide us the test steps you followed. If possible please
attach a small complete project that demonstrates this behavior.

Also can you please add the logs from the following places?:
On XS IDE Log  Location: XS>Help> Open Log Directory> IDE.log file (with latest
timestamp)
iOS designer Log Location: XS> Help> Open Log Directory> iOSDesigner.log file

Environment Info:
XS 5.0.1(build 3)
XI 7.2.5.5
Comment 2 Ryan 2014-08-27 05:37:13 UTC
I have just started working with the iOS designer and have found exactly the same thing. 

If I drag a constraint handle from a component to the view controller's edge, it gets added to the component's layout properties as expected. 

If I drag a handle from one component to another, it doesn't show in either component's layout panel. It is added to the document outline, however.

Also, if I create a width constraint between two components, it shows the orange dashes correctly. If however I drag a spacing constraint, the orange dashes show in completely the wrong place, near the edge of the view controller.
Comment 3 Ryan 2014-08-27 05:44:29 UTC
Created attachment 7816 [details]
Screen capture of unexpected constraint behaviour
Comment 4 Alan McGovern 2014-08-27 18:01:27 UTC
Jarina, can you look into this when you finish the rest of your high priority work. It looks like more outline panel issues.
Comment 5 PJ 2014-08-28 17:18:00 UTC
Changing to assigned as per comment 4.
Comment 6 Alan McGovern 2015-08-28 17:13:14 UTC
The outline panel should be fine in current builds