I have a fairly robust MacOS application that has an NSScrollView that contains a canvas with various subviews (including web views and text views that contain scroll views), and a couple of peer views that track items in the scroll view (eg: screen space controls).
Some of these views interrupt two finger scrolling. Every scroll view, and one of the peer views (essentially a stack view with buttons in it).
I have written an additional bare bones application which does roughly the same thing, and my bare bones application works perfectly: Start two-finger dragging, scroll any of these other things under the cursor, I can continue to drag (and start dragging in any of those, and they drag without interfering with the parent scroll view).
I have tried everything to recreate the interruption, including drag gestures attached to these various ancillary views, and I cannot figure out why dragging some of these views under the cursor interrupts two finger drag in our application, but not in my testbed.
Does anyone have suggestions for how to debug this? I can see that there is a gesture recognizer in the NSScrollView hierarchy, but I don't see it in any of my gesture recognizer handling. I have breakpoints on every variation of hit testing and mouse motion, and none of them are getting hit in unexpected ways.
I'm at my wit's end. Thanks.
Post
Replies
Boosts
Views
Activity
Got a fairly large app with a build setup that I did not do. We use WKWebView for embedded browsing. On upgrade to Big Sur, displays of PDFs in those web views stopped working.
I've built a stand-alone app that can load PDFs into WKWebViews from the net and from the local disk, so I know what we're trying to do is still possible. Both projects have:
				<key>NSAppTransportSecurity</key>
				<dict>
								<key>NSAllowsArbitraryLoads</key>
								<true/>
								<key>NSAllowsArbitraryLoadsInWebContent</key>
								<true/>
				</dict>
in their Info.plist files. My test project has an App Sandbox in which I've turned on "Outgoing Connections", the main project does not have an App Sandbox, and loading and display of HTML pages into those web views works just fine.
Anybody got clues? I'm sure it's a project setting somewhere, but I don't know where to start.