Closed
Bug 1159905
Opened 9 years ago
Closed 9 years ago
Constraint errors at startup
Categories
(Firefox for iOS :: Browser, defect)
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
fennec | + | --- |
People
(Reporter: bnicholson, Assigned: dhenein)
References
Details
Attachments
(1 file)
Seeing these constraint errors at startup: 2015-04-29 14:17:58.992 Client[89560:7671371] Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) ( "<<SnapKit.LayoutConstraint:0x7faeab42a990> <UIButtonLabel:0x7faeab42b0a0>.width == 18.0>", "<NSLayoutConstraint:0x7faeab428dd0 UIButtonLabel:0x7faea9ce5a30'1'.width <= Client.InsetButton:0x7faea9ce56e0'1'.width>", "<NSAutoresizingMaskLayoutConstraint:0x7faeab4291e0 h=--& v=--& H:[Client.InsetButton:0x7faea9ce56e0'1'(0)]>" ) Will attempt to recover by breaking constraint <NSLayoutConstraint:0x7faeab428dd0 UIButtonLabel:0x7faea9ce5a30'1'.width <= Client.InsetButton:0x7faea9ce56e0'1'.width> Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful. 2015-04-29 14:17:58.993 Client[89560:7671371] Unable to simultaneously satisfy constraints. Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) ( "<<SnapKit.LayoutConstraint:0x7faeab42adf0> <UIButtonLabel:0x7faeab429980>.height == 18.0>", "<NSLayoutConstraint:0x7faeab428e20 UIButtonLabel:0x7faea9ce5a30'1'.height <= Client.InsetButton:0x7faea9ce56e0'1'.height>", "<NSAutoresizingMaskLayoutConstraint:0x7faeab429580 h=--& v=--& V:[Client.InsetButton:0x7faea9ce56e0'1'(0)]>" ) Will attempt to recover by breaking constraint <NSLayoutConstraint:0x7faeab428e20 UIButtonLabel:0x7faea9ce5a30'1'.height <= Client.InsetButton:0x7faea9ce56e0'1'.height> Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger. The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful. wesj thought this might be related to the new SnackBar constraints from bug 1159319.
Reporter | ||
Comment 1•9 years ago
|
||
Looks like this is actually a regression from bug 1159765.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → dhenein
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8599617 -
Flags: review?(bnicholson)
Reporter | ||
Comment 3•9 years ago
|
||
Comment on attachment 8599617 [details] [review] PR 403 Nice, LGTM.
Attachment #8599617 -
Flags: review?(bnicholson) → review+
Reporter | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Reporter | ||
Updated•9 years ago
|
tracking-fennec: ? → +
You need to log in
before you can comment on or make changes to this bug.
Description
•