Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Removing, re-adding TUI hierarchy causes it to display nothing #39

Closed
bww opened this issue Aug 9, 2011 · 0 comments · Fixed by #41
Closed

Removing, re-adding TUI hierarchy causes it to display nothing #39

bww opened this issue Aug 9, 2011 · 0 comments · Fixed by #41

Comments

@bww
Copy link
Contributor

bww commented Aug 9, 2011

Removing a view hierarchy containing TUI content from a window and then subsequently re-adding the same view hierarchy (e.g., to toggle between two different top-level views or something) causes the TUI content to display nothing. It's actually there and still seems to get key events just fine, though.

Specifically, I've got:

  • NSWindow
    • NSView
      • NSView (this one is switched out)
        • TUINSView
          • TUIView...

Switching out the view noted above with another view, and then switching back by re-adding it causes the problem.

I've been poking around a bit, but I have no idea why this would happen.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants