NSPopover that displays NSCollectionView issue

Problem:

There is a NSPopover that displays some NSViewController with NSCollectionView and methods of NSCollectionViewDelegate works fine while I don’t integrate ZoomSDK.

After ZoomSDK integration step the NSCollectionView doesn’t inform the delegate about events.

I guess the reason MAY BE in ZCommonUI.framework. There are a lot of categories (extensions) of different UI components of Cocoa library in this framework. So, in my opinion, one of the reasons may be in ZCommonUI.framework. But I can be wrong about the real location of the problem.

Repository with a demo project:

I have attached a repository with a demo project.

There are two folders ‘With Zoom SDK’ and ‘Without Zoom SDK’.
It’s the same project in this folders, but with one difference:

  • there is the project with integrated ZoomSDK, where methods of NSCollectionViewDelegate don’t work. It’s ‘With Zoom SDK’ folder.
  • there is the project without integrated ZoomSDK, where methods of NSCollectionViewDelegate works correctly. It’s ‘Without Zoom SDK’ folder.

I understand that it’s close to unreal to cover all cases by tests. And I hope it will help you. Feel free to ask questions to understand more about this case.

https://bitbucket.org/anton-yereshchenko-tc/popover/src/master/

Hi @anton.yereshchenko, thanks for the post.

Sorry to hear you are experiencing these issues after adding the SDK to your project. After looking through your sample projects, I just have one question to ensure I am correctly understanding. This change in behavior is observed without actually referencing the SDK in your project, right?

Thanks!

Hi @jon.lieblich, thank you for the replay.

For example, if you download the project from the folder “With Zoom SDK” and run the project you will get the issue.
If you download the project from the folder “With Zoom SDK”, remove the SDK, and run the project you won’t get the issues and click will be work correct.

Thanks!

Hi @anton.yereshchenko,

I completely understand which project has the issue. :slightly_smiling_face:

What I am trying to verify is that there are no code changes between the two projects. That seems to be the case as far as I can tell, but I wanted to confirm with you that I am not overlooking anything.

Thanks!

Hi @jon.lieblich ,

Yes, absolutely, there are no code changes between the two projects, I confirm it.
The difference is only the presence of the SDK.

Thanks!

Hi @anton.yereshchenko,

We have confirmed that this is a bug with the SDK and will resolve it in the next release. Be sure to keep an eye on our release notes for the next version. :slightly_smiling_face:

Thanks!

1 Like

@jon.lieblich Thank you!

Happy to help! Please don’t hesitate to reach back out if you run into any other issues.