DMSplitView icon indicating copy to clipboard operation
DMSplitView copied to clipboard

Splitview inconsistent state error when using autoSaveName to restore state of split view

Open brendand opened this issue 12 years ago • 2 comments

When you set an autoSaveName for the split view, collapse a view, then quit and re-launch the app, the following error is displayed:

<DMSplitView: 0x100192e20>: the delegate <DMSplitView: 0x100192e20> was sent -splitView:resizeSubviewsWithOldSize: and left the subview frames in an inconsistent state: Split view bounds: {{0, 0}, {816, 337}} Subview frame: {{0, 0}, {100, 337}} Subview frame: {{110, 0}, {644, 337}} Subview frame: {{764, 0}, {152, 337}} DMSplitViewExample[41225:303] The outer edges of the subview frames are supposed to line up with the split view's bounds' edges. NSSplitView is working around the problem, perhaps at the cost of more redrawing. (This message is only logged once per NSSplitView.)

The same thing is happening in my app as happens in the example app.

brendand avatar Feb 14 '13 06:02 brendand

Are there any updates to this, or was a fix found?

WrightsCS avatar Nov 19 '15 23:11 WrightsCS

No idea. I moved on and I'm using AutoLayout with regular NSSplitViews now. I no longer use DMSplitView. And I don't see that error anymore.

brendand avatar Nov 21 '15 20:11 brendand