# NSPopover that displays NSCollectionView issue

**URL:** <https://devforum.zoom.us/t/nspopover-that-displays-nscollectionview-issue/42514>\
**Category:** macOS\
**Created:** [February 4, 2021, 7:33am UTC](https://devforum.zoom.us/t/nspopover-that-displays-nscollectionview-issue/42514 "2021-02-04T07:33:32Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![anton.yereshchenko](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anton.yereshchenko/32/16916_2.png) [@anton.yereshchenko](https://devforum.zoom.us/u/anton.yereshchenko)\
**Post date:** [February 4, 2021, 7:33am UTC](https://devforum.zoom.us/t/nspopover-that-displays-nscollectionview-issue/42514/1 "2021-02-04T07:33:32Z")

</div>

**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/](https://bitbucket.org/anton-yereshchenko-tc/popover/src/master/)

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [February 4, 2021, 9:26pm UTC](https://devforum.zoom.us/t/nspopover-that-displays-nscollectionview-issue/42514/2 "2021-02-04T21:26:54Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![anton.yereshchenko](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anton.yereshchenko/32/16916_2.png) [@anton.yereshchenko](https://devforum.zoom.us/u/anton.yereshchenko)\
**Post date:** [February 5, 2021, 2:55pm UTC](https://devforum.zoom.us/t/nspopover-that-displays-nscollectionview-issue/42514/3 "2021-02-05T14:55:48Z")

</div>

Hi @jon.zoom, 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!

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [February 5, 2021, 6:04pm UTC](https://devforum.zoom.us/t/nspopover-that-displays-nscollectionview-issue/42514/4 "2021-02-05T18:04:07Z")

</div>

Hi @anton.yereshchenko,

I completely understand which project has the issue. 🙂

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!

---

<div class="post-metadata">

**Author:** ![anton.yereshchenko](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anton.yereshchenko/32/16916_2.png) [@anton.yereshchenko](https://devforum.zoom.us/u/anton.yereshchenko)\
**Post date:** [February 8, 2021, 7:25am UTC](https://devforum.zoom.us/t/nspopover-that-displays-nscollectionview-issue/42514/5 "2021-02-08T07:25:40Z")

</div>

Hi @jon.zoom ,

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

Thanks!

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [February 8, 2021, 7:07pm UTC](https://devforum.zoom.us/t/nspopover-that-displays-nscollectionview-issue/42514/6 "2021-02-08T19:07:21Z")

</div>

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](https://marketplace.zoom.us/docs/sdk/native-sdks/macos/release-notes) for the next version. 🙂

Thanks!

---

<div class="post-metadata">

**Author:** ![anton.yereshchenko](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anton.yereshchenko/32/16916_2.png) [@anton.yereshchenko](https://devforum.zoom.us/u/anton.yereshchenko)\
**Post date:** [February 10, 2021, 7:40am UTC](https://devforum.zoom.us/t/nspopover-that-displays-nscollectionview-issue/42514/7 "2021-02-10T07:40:11Z")

</div>

@jon.zoom Thank you!

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [February 10, 2021, 5:57pm UTC](https://devforum.zoom.us/t/nspopover-that-displays-nscollectionview-issue/42514/8 "2021-02-10T17:57:26Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![anton.yereshchenko](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anton.yereshchenko/32/16916_2.png) [@anton.yereshchenko](https://devforum.zoom.us/u/anton.yereshchenko)\
**Post date:** [April 6, 2021, 7:14am UTC](https://devforum.zoom.us/t/nspopover-that-displays-nscollectionview-issue/42514/9 "2021-04-06T07:14:35Z")

</div>

@jon.zoom Thank you and all Zoom dev team!

this issues is fixed in **v5.5.12509.0330** version

🚀

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [April 6, 2021, 6:37pm UTC](https://devforum.zoom.us/t/nspopover-that-displays-nscollectionview-issue/42514/10 "2021-04-06T18:37:47Z")

</div>

Glad to hear it’s working properly now! 🙂

---

<div class="post-metadata">

**Author:** ![anton.yereshchenko](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anton.yereshchenko/32/16916_2.png) [@anton.yereshchenko](https://devforum.zoom.us/u/anton.yereshchenko)\
**Post date:** [April 12, 2021, 9:24am UTC](https://devforum.zoom.us/t/nspopover-that-displays-nscollectionview-issue/42514/11 "2021-04-12T09:24:32Z")

</div>

@jon.zoom Hi!

We have figured out that this issue is fixed when there isn’t active call. But when the user is on the call this issue is still appear. I mean the user doesn’t have ability to interact with the UI controls that is locate in NSPopover window while Zoom call is active.  
**Note** : For my opinion behaviour is very similar to first responder interception.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [April 12, 2021, 5:54pm UTC](https://devforum.zoom.us/t/nspopover-that-displays-nscollectionview-issue/42514/12 "2021-04-12T17:54:03Z")

</div>

Hi @anton.yereshchenko,

Thank you for letting me know that you are still experiencing this issue when the meeting UI is active. We will need to investigate this and get back to you.

Thanks!

---

<div class="post-metadata">

**Author:** ![anton.yereshchenko](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anton.yereshchenko/32/16916_2.png) [@anton.yereshchenko](https://devforum.zoom.us/u/anton.yereshchenko)\
**Post date:** [April 13, 2021, 6:34am UTC](https://devforum.zoom.us/t/nspopover-that-displays-nscollectionview-issue/42514/13 "2021-04-13T06:34:07Z")

</div>

@jon.zoom yeah, great, and I want to clarify that it’s happen in custom UI flow.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [April 13, 2021, 8:17pm UTC](https://devforum.zoom.us/t/nspopover-that-displays-nscollectionview-issue/42514/14 "2021-04-13T20:17:24Z")

</div>

Hi @anton.yereshchenko,

Thanks for clarifying that it is occurring with a custom UI. Would it be possible to provide a small demo app in which you are able to reproduce this? If so, you could send it over to [developersupport@zoom.us](mailto:developersupport@zoom.us) and mention this thread so that we can speed up the investigation on this front.

Thanks!

---

<div class="post-metadata">

**Author:** ![anton.yereshchenko](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anton.yereshchenko/32/16916_2.png) [@anton.yereshchenko](https://devforum.zoom.us/u/anton.yereshchenko)\
**Post date:** [April 14, 2021, 2:55pm UTC](https://devforum.zoom.us/t/nspopover-that-displays-nscollectionview-issue/42514/15 "2021-04-14T14:55:01Z")

</div>

@jon.zoom

Yeah, demo project helped us, we have found the reason of this behaviour. And ZoomSDK wasn’t be the reason.  
Thank you for your help!

I think this issue fully **fixed** in **v5.5.12509.0330** version.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [April 14, 2021, 7:52pm UTC](https://devforum.zoom.us/t/nspopover-that-displays-nscollectionview-issue/42514/16 "2021-04-14T19:52:06Z")

</div>

That’s great to hear, thanks for keeping us updated!
