Re: Catalina scroll view issues
Re: Catalina scroll view issues
- Subject: Re: Catalina scroll view issues
- From: Allan Odgaard via Cocoa-dev <email@hidden>
- Date: Sun, 15 Dec 2019 10:30:27 +0700
On 14 Dec 2019, at 21:16, Redler Eyal via Cocoa-dev wrote:
I'm getting reports from users complaining about a strange display
issue on Catalina with my app.
[…]
The problem is that when with some documents, sometimes, when the user
scrolls down the document, some pages are not drawn or even partially
drawn. When the user clicks the place where the page is supposed to
appear, it shows up.
Does it look anything like this:
https://github.com/textmate/bugs/issues/33 ?
We’ve gotten a bunch of reports like this for TextMate on Catalina.
The only thing I can think of is that we opt out of responsive
scrolling, so maybe that is a less tested code path on Catalina. The
issue itself very much looks like a system bug.
We opt out of responsive scroll because the line numbers is a separate
NSScrollView and with responsive scroll enabled, I know of no way to
synchronize the two scroll views (since notifications about positions on
the main thread may be delayed, due to background thread scrolling).
Since layer backed views effectively broke our ability to support
transparent backgrounds, I have some unreleased code where we have
switched to making the line numbers a floating subview so that we
don’t have to opt out of responsive scrolling. But I have no idea if
this fixes the issue, as I haven’t updated to 10.15 myself.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden