# Another undocumented breaking change in mac SDK

**URL:** <https://devforum.zoom.us/t/another-undocumented-breaking-change-in-mac-sdk/58273>\
**Category:** macOS\
**Created:** [October 1, 2021, 2:03pm UTC](https://devforum.zoom.us/t/another-undocumented-breaking-change-in-mac-sdk/58273 "2021-10-01T14:03:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![richard1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richard1/32/5472_2.png) [@richard1](https://devforum.zoom.us/u/richard1)\
**Post date:** [October 1, 2021, 2:03pm UTC](https://devforum.zoom.us/t/another-undocumented-breaking-change-in-mac-sdk/58273/1 "2021-10-01T14:03:56Z")

</div>

Hello

Another undocumented breaking change I’ve found in the latest zoomSDK for mac - seems to have been introduced in the 5.7.6 release…

Previously I could call

[[[[ZoomSDK sharedSDK] getMeetingService] getMeetingUIController] showMeetingComponent:MeetingComponent\_MainWindow window:&w show:YES InPanel:NO frame:NSZeroRect]

And I would get a pointer to the meeting’s main window component, but by passing a zeroRect as frame the window would not be resized. The new behaviour results in the meeting window being sized to a zero-sized window.

This is unhelpful as - as far as I can see - there is now no neat way to get a handle on the main window without resising it (as there is no way to know the size of the window until you have a handle to it)

I haven’t tested this with other elements but I suspect it’s the same

While looking at this it would also be great to look at adding an enum so that we can also get a handle to the second screen’s window - currently there doesn’t appear to be a neat way to do this

Thanks

Richard

---

<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:** [October 1, 2021, 10:10pm UTC](https://devforum.zoom.us/t/another-undocumented-breaking-change-in-mac-sdk/58273/2 "2021-10-01T22:10:02Z")

</div>

Hi @richard1,

We’re very sorry that the behavior of this has changed. I’m not sure if this was intentional, so it is possible that it could be a bug rather than a breaking change. We will need to investigate this and get back to you once we have additional information.

> While looking at this it would also be great to look at adding an enum so that we can also get a handle to the second screen’s window - currently there doesn’t appear to be a neat way to do this

That is certainly something that we can look into adding as we investigate this. 🙂

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:** [October 11, 2021, 10:51pm UTC](https://devforum.zoom.us/t/another-undocumented-breaking-change-in-mac-sdk/58273/3 "2021-10-11T22:51:05Z")

</div>

Hi @richard1,

Quick update - we were able to confirm that this method is not functioning as intended. We have identified a fix for this which should be available in the next release.

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [November 11, 2021, 8:51am UTC](https://devforum.zoom.us/t/another-undocumented-breaking-change-in-mac-sdk/58273/4 "2021-11-11T08:51:25Z")

</div>

Closed on November 11, 2021, 8:51am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
