Hello. I'm experiencing some window redrawing issues on 10.8 when I'm using NSTableViews and autolayout.
I have created an application from the standard Cocoa application template in Xcode and set it to use automatic reference counting. All I've added is a toolbar and a table view to the window in MainMenu.xib. I've not added any code. If I run the application the window displays with the toolbar at the top and the table view in the middle. I then click on the green title bar button twice in order to first maximize the window and then restore it to its original size. However the window does not restore correctly, it's much taller than what it used to be. I then ctrl-click on the toolbar and hide it. The toolbar disappears with the usual toolbar animation but then immediately reappears. The toolbar is visible but does no longer respond to events. If the window is resized the ghost toolbar is left in its original position and does not resize with the window. On this page there are some screenshots that visualize what it looks like: http://stackoverflow.com/questions/11808299/nswindow-with-a-nstableview-behaves-weird-after-zoomed Just to be sure that there wasn't something in my environment that caused the problem I downloaded a fresh copy of 10.8 from the Mac App Store and installed it in a virtual machine, however I'm experiencing the exact same issue there as well. In 10.7 it all works as expected. Does anyone know why this happens and what I should do to prevent it? Is it perhaps simply that I'm doing it wrong and that this is undefined behavior that is different between 10.7 and 10.8. Marcus _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com