# Bug: Web SDK trims shared screen if multiple screens of different sizes shared during same meeting

**URL:** <https://devforum.zoom.us/t/bug-web-sdk-trims-shared-screen-if-multiple-screens-of-different-sizes-shared-during-same-meeting/15472>\
**Category:** Web\
**Created:** [April 29, 2020, 6:15pm UTC](https://devforum.zoom.us/t/bug-web-sdk-trims-shared-screen-if-multiple-screens-of-different-sizes-shared-during-same-meeting/15472 "2020-04-29T18:15:51Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![david.foster](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/david.foster/32/5399_2.png) [@david.foster](https://devforum.zoom.us/u/david.foster)\
**Post date:** [April 29, 2020, 6:15pm UTC](https://devforum.zoom.us/t/bug-web-sdk-trims-shared-screen-if-multiple-screens-of-different-sizes-shared-during-same-meeting/15472/1 "2020-04-29T18:15:51Z")

</div>

**To Reproduce**  
Steps to reproduce the behavior:

1. Start a meeting using a native Zoom client, such as the macOS client.
2. Join the meeting as an attendee using the Web SDK sample app at [https://github.com/zoom/sample-app-web](https://github.com/zoom/sample-app-web) .
3. Create a browser tab with some content that will be screen-shared. Size the tab to be wide, so that its width is greater than its height.
4. Using the Web SDK, press Share Screen, and select the browser tab you just created for sharing.
5. The browser tab’s contents are correctly shared to the native Zoom client. See screenshot below:

 ![Screen Shot 2020-04-29 at 10.58.29 AM (2)](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/7/7fbdeaa04aca1161b870ba02119f9b612966fa9c.png)

1. Using the Web SDK, press Stop Share.
2. Resize the browser tab that was shared to be tall, with its height greater than its width.
3. Using the Web SDK, press Share Screen, and select the same browser tab as before.
4. The bottom part of the shared browser tab is cut off when received by the native Zoom client. See screenshot below:

 ![Screen Shot 2020-04-29 at 10.59.36 AM (2)](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/7/7d960b819d6471776525c5be3ec8913f5b32b299.jpeg)

**Additional context**  
Investigation suggests this kind of problem happens whenever attempting to share the screen multiple times during the same meeting using the Web SDK, when the shared area changes in size between shares. The first share by the Web SDK always works correctly, but subsequent shares only work if the shared region is the same size as the first-shared region.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 1, 2020, 10:57pm UTC](https://devforum.zoom.us/t/bug-web-sdk-trims-shared-screen-if-multiple-screens-of-different-sizes-shared-during-same-meeting/15472/2 "2020-05-01T22:57:45Z")

</div>

Hey @david.foster,

Thanks for the detailed bug report. I will pass this on to our Web SDK engineers to investigate and fix. (CS-1704) 🙂

-Tommy

---

<div class="post-metadata">

**Author:** ![david.foster](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/david.foster/32/5399_2.png) [@david.foster](https://devforum.zoom.us/u/david.foster)\
**Post date:** [May 7, 2020, 4:39pm UTC](https://devforum.zoom.us/t/bug-web-sdk-trims-shared-screen-if-multiple-screens-of-different-sizes-shared-during-same-meeting/15472/3 "2020-05-07T16:39:40Z")

</div>

Hi @tommy , do you know whether the Web SDK engineers have had a change to look at this bug and prioritize it? Do you have any kind of estimate available on when this bug would be investigated/fixed?

This particular bug related to screen sharing is considered a showstopper by the business folks on my end that would prevent us from using Zoom as our meeting provider, since screen sharing (and video) is particularly important for our use case.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 12, 2020, 8:19pm UTC](https://devforum.zoom.us/t/bug-web-sdk-trims-shared-screen-if-multiple-screens-of-different-sizes-shared-during-same-meeting/15472/4 "2020-05-12T20:19:25Z")

</div>

Hey @david.foster,

I will request this be prioritized however, currently prioritizing developing additional security features for the Web SDK like authentication profiles and registration.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![david.foster](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/david.foster/32/5399_2.png) [@david.foster](https://devforum.zoom.us/u/david.foster)\
**Post date:** [May 13, 2020, 12:12am UTC](https://devforum.zoom.us/t/bug-web-sdk-trims-shared-screen-if-multiple-screens-of-different-sizes-shared-during-same-meeting/15472/5 "2020-05-13T00:12:23Z")

</div>

Thanks for being willing to advocate for prioritization tommy. 🎊

I may know more about this trimming behavior in the next day or two, since I’m trying to workaround it. Will post if I learn more.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 15, 2020, 9:24pm UTC](https://devforum.zoom.us/t/bug-web-sdk-trims-shared-screen-if-multiple-screens-of-different-sizes-shared-during-same-meeting/15472/6 "2020-05-15T21:24:51Z")

</div>

Sounds good @david.foster!

I will keep you updated on the issue!

-Tommy

---

<div class="post-metadata">

**Author:** ![david.foster](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/david.foster/32/5399_2.png) [@david.foster](https://devforum.zoom.us/u/david.foster)\
**Post date:** [May 20, 2020, 5:24pm UTC](https://devforum.zoom.us/t/bug-web-sdk-trims-shared-screen-if-multiple-screens-of-different-sizes-shared-during-same-meeting/15472/7 "2020-05-20T17:24:56Z")

</div>

My work on Zoom integration has been suspended, so we are no longer waiting on a fix for this bug.

Thanks for all your help @tommy , across multiple threads.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [May 26, 2020, 6:15pm UTC](https://devforum.zoom.us/t/bug-web-sdk-trims-shared-screen-if-multiple-screens-of-different-sizes-shared-during-same-meeting/15472/8 "2020-05-26T18:15:52Z")

</div>

Hey @david.foster,

Sorry to hear your Zoom integration work has been suspended.

Let me know if there is anything else I can do for you, or when your Zoom integration work resumes. 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:31pm UTC](https://devforum.zoom.us/t/bug-web-sdk-trims-shared-screen-if-multiple-screens-of-different-sizes-shared-during-same-meeting/15472/9 "2020-08-21T21:31:34Z")

</div>

Closed on August 21, 2020, 9:31pm UTC


