# Secondary Desktops don't honor minimum Client Size Property

**URL:** <https://forum.inductiveautomation.com/t/secondary-desktops-dont-honor-minimum-client-size-property/12601>\
**Category:** Ignition\
**Created:** [January 25, 2017, 3:50pm UTC](https://forum.inductiveautomation.com/t/secondary-desktops-dont-honor-minimum-client-size-property/12601 "2017-01-25T15:50:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![nick.schuetz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nick.schuetz/32/6160_2.png) [@nick.schuetz](https://forum.inductiveautomation.com/u/nick.schuetz)\
**Post date:** [January 25, 2017, 3:50pm UTC](https://forum.inductiveautomation.com/t/secondary-desktops-dont-honor-minimum-client-size-property/12601/1 "2017-01-25T15:50:47Z")

</div>

Secondary Desktops don’t honor the minimum Client Size Property. Primary Desktops auto generate scroll bars as previously, but Secondary Desktops never create these scroll bars. Is this the intended behavior? Has anyone else noticed this and found a workaround? FYI I am running 7.9.1.

---

<div class="post-metadata">

**Author:** ![adam.morales](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/adam.morales/32/3405_2.png) [@adam.morales](https://forum.inductiveautomation.com/u/adam.morales)\
**Post date:** [February 1, 2017, 12:54am UTC](https://forum.inductiveautomation.com/t/secondary-desktops-dont-honor-minimum-client-size-property/12601/2 "2017-02-01T00:54:58Z")

</div>

This is the intended behavior. The client width and height properties only apply to the primary desktop when the client is launched, but the size of a secondary desktop depends on the height and width passed into the system.gui.openDesktop() function which opened it. If these are not specified, then the frame will be maximized.

---

<div class="post-metadata">

**Author:** ![nick.schuetz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nick.schuetz/32/6160_2.png) [@nick.schuetz](https://forum.inductiveautomation.com/u/nick.schuetz)\
**Post date:** [February 1, 2017, 3:16am UTC](https://forum.inductiveautomation.com/t/secondary-desktops-dont-honor-minimum-client-size-property/12601/3 "2017-02-01T03:16:01Z")

</div>

Thats fine. What I am wondering about is when a secondary desktop is resized, say made smaller, scroll bars never appear which makes it impossible to see all the contents on the screen. This also could happen when the desktops are opened as maximized, not full screen. The client minimum size project property creates the scroll bars on the primary desktop when resized smaller than the setting, but not on the secondary desktops.

---

<div class="post-metadata">

**Author:** ![adam.morales](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/adam.morales/32/3405_2.png) [@adam.morales](https://forum.inductiveautomation.com/u/adam.morales)\
**Post date:** [February 2, 2017, 12:41am UTC](https://forum.inductiveautomation.com/t/secondary-desktops-dont-honor-minimum-client-size-property/12601/4 "2017-02-02T00:41:38Z")

</div>

Thank you for clarifying! Yes, this does appear to be an issue, and I will take it up with our developers.

---

<div class="post-metadata">

**Author:** ![brian.mcenulty](https://avatars.discourse-cdn.com/v4/letter/b/b77776/32.png) [@brian.mcenulty](https://forum.inductiveautomation.com/u/brian.mcenulty)\
**Post date:** [March 7, 2018, 10:01pm UTC](https://forum.inductiveautomation.com/t/secondary-desktops-dont-honor-minimum-client-size-property/12601/5 "2018-03-07T22:01:08Z")

</div>

In version 7.9.5 this still appears to be an issue. Is there any workaround?

---

<div class="post-metadata">

**Author:** ![DavidWisely](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/davidwisely/32/10482_2.png) [@DavidWisely](https://forum.inductiveautomation.com/u/DavidWisely)\
**Post date:** [October 3, 2018, 7:26am UTC](https://forum.inductiveautomation.com/t/secondary-desktops-dont-honor-minimum-client-size-property/12601/6 "2018-10-03T07:26:03Z")

</div>

In version 7.9.9 this is still an issue! Anybody know how to get the scroll bars back in the secondary desktop?

---

<div class="post-metadata">

**Author:** ![DavidWisely](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/davidwisely/32/10482_2.png) [@DavidWisely](https://forum.inductiveautomation.com/u/DavidWisely)\
**Post date:** [October 3, 2018, 8:27am UTC](https://forum.inductiveautomation.com/t/secondary-desktops-dont-honor-minimum-client-size-property/12601/7 "2018-10-03T08:27:53Z")

</div>

Ok, I have a workaround for this now.

When opening the new desktop I include a tiny window located at the bottom right corner of where I want the scroll bars to work.

`system.gui.openDesktop(screen=0, handle=newHandle, windows=["Main", "Navigation_Top", "TinyWindow"])`  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/dd52a49a5fea7562832b07a9011266727a7751d5.png)

If anyone has a better solution, please let me know.

---

<div class="post-metadata">

**Author:** ![ssatonkar](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@ssatonkar](https://forum.inductiveautomation.com/u/ssatonkar)\
**Post date:** [January 27, 2021, 5:50pm UTC](https://forum.inductiveautomation.com/t/secondary-desktops-dont-honor-minimum-client-size-property/12601/8 "2021-01-27T17:50:02Z")

</div>

I am trying to achieve this:

> [@system.gui.openDesktop - open fullscreen](http://forum.inductiveautomation.com/t/system-gui-opendesktop-open-fullscreen/20365):
>
> I’m using a client startup script to launch a second desktop on my second monitor for trending and so on. The window is appearing just fine, but it is not full screen, in that the windows taskbar is still visible. On the primary monitor, the taskbar is covered by the window. How can I script the secondary desktop to be properly fullscreen?

As you suggested even if I remove Height and width from system.gui.openDesktop() function. secondary desktop doesn't open in maximized mode:  
system.gui.openDesktop(screen=screenIndex, handle=handleName,windows=windowsToOpen)
