Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

CPSplitView not collapsing views properly. #1585

Open
dbrajkovic opened this Issue · 3 comments

3 participants

@dbrajkovic

An innocent question by a unnamed source has led me to discover the CPSplitView is incorrectly implemented.

In CPSplitView, isSubviewCollapsed will return true if the height or width depending on split view configuration is equal to 0. However, according to NSSplitView, when a view is collapsed, the precollapsed size does not change. Instead, the hidden property of the view is set to YES.

@cappbot
Collaborator

Milestone: Someday. Label: #new. What's next? A reviewer should examine this issue.

@aljungberg
Owner

That's a pretty significant difference. We'd need to change the subview layout code quite a bit. Do you have a Cocoa test app?

+AppKit
+bug
+#acknowledged
+#needs-confirmation
+#needs-patch

@cappbot
Collaborator

Milestone: Someday. Labels: #acknowledged, #needs-patch, AppKit, bug. What's next? This issue needs a volunteer to write and submit code to address it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.