I have a strange problem in my application (on 10.11, but I don't know whether that's important). After opening a document, scrolling in the document is a bit sluggish. But after resizing the document window with the mouse or maximizing it by Alt+click on the green title bar button, scrolling is a lot faster.
Resizing the window by code with -[NSWindow zoom:] and -[NSWindow setFrame:display:animate:YES] speeds up scrolling, too, but -[NSWindow setFrame:display:animate:NO] doesn't. The document window uses a subclass of NSView for displaying its content and doesn't have any layers. Does anybody know what -[NSWindow zoom:] and -[NSWindow setFrame:display:animate:YES] might change at the window, so that following scrolls are faster? Martin _______________________________________________ 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