# 8.0.10 popup in the wrong screen

**URL:** <https://forum.inductiveautomation.com/t/8-0-10-popup-in-the-wrong-screen/53496>\
**Category:** Ignition\
**Created:** [November 26, 2021, 4:45pm UTC](https://forum.inductiveautomation.com/t/8-0-10-popup-in-the-wrong-screen/53496 "2021-11-26T16:45:31Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![hewking32](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@hewking32](https://forum.inductiveautomation.com/u/hewking32)\
**Post date:** [November 26, 2021, 4:45pm UTC](https://forum.inductiveautomation.com/t/8-0-10-popup-in-the-wrong-screen/53496/1 "2021-11-26T16:45:31Z")

</div>

Hi I wonder if this issue has already been fixed or maybe there is something strange with my environment. I am using version 8.0.10 and apart from the laptop i have 3 monitors with no scaling. Its not a big deal but slight inconvenience when the popup shows on different monitor.  
Regards

---

<div class="post-metadata">

**Author:** ![jespinmartin1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jespinmartin1/32/57175_2.png) [@jespinmartin1](https://forum.inductiveautomation.com/u/jespinmartin1)\
**Post date:** [November 28, 2021, 3:41am UTC](https://forum.inductiveautomation.com/t/8-0-10-popup-in-the-wrong-screen/53496/2 "2021-11-28T03:41:39Z")

</div>

Assuming Vision.  
Popups windows? or native java OptionPanes?

---

<div class="post-metadata">

**Author:** ![hewking32](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@hewking32](https://forum.inductiveautomation.com/u/hewking32)\
**Post date:** [November 30, 2021, 1:15pm UTC](https://forum.inductiveautomation.com/t/8-0-10-popup-in-the-wrong-screen/53496/3 "2021-11-30T13:15:23Z")

</div>

yes vision i wonder what did you mean by native Option panes?

---

<div class="post-metadata">

**Author:** ![bschroeder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bschroeder/32/13260_2.png) [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Post date:** [November 30, 2021, 1:33pm UTC](https://forum.inductiveautomation.com/t/8-0-10-popup-in-the-wrong-screen/53496/4 "2021-11-30T13:33:29Z")

</div>

Are they popups you created and are calling via system.nav.\* or are they message boxes being called by system.gui.\*?

---

<div class="post-metadata">

**Author:** ![hewking32](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@hewking32](https://forum.inductiveautomation.com/u/hewking32)\
**Post date:** [November 30, 2021, 2:33pm UTC](https://forum.inductiveautomation.com/t/8-0-10-popup-in-the-wrong-screen/53496/5 "2021-11-30T14:33:35Z")

</div>

hi  
They are called by system.gui so for example when i put a messagebox for troubleshooting it will open on different monitor (I have 4) which exercise my neck too much 🙂

---

<div class="post-metadata">

**Author:** ![bschroeder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bschroeder/32/13260_2.png) [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Post date:** [November 30, 2021, 2:36pm UTC](https://forum.inductiveautomation.com/t/8-0-10-popup-in-the-wrong-screen/53496/6 "2021-11-30T14:36:24Z")

</div>

Can you post your code that you are using to make the popup show up?

---

<div class="post-metadata">

**Author:** ![hewking32](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@hewking32](https://forum.inductiveautomation.com/u/hewking32)\
**Post date:** [November 30, 2021, 2:40pm UTC](https://forum.inductiveautomation.com/t/8-0-10-popup-in-the-wrong-screen/53496/7 "2021-11-30T14:40:24Z")

</div>

for example system.gui.messageBox(“test”,“test”) would trigger this behaviour  
strange thing is that my colleague does not have the same problem when using the same version of ignition

---

<div class="post-metadata">

**Author:** ![bschroeder](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bschroeder/32/13260_2.png) [@bschroeder](https://forum.inductiveautomation.com/u/bschroeder)\
**Post date:** [November 30, 2021, 2:43pm UTC](https://forum.inductiveautomation.com/t/8-0-10-popup-in-the-wrong-screen/53496/8 "2021-11-30T14:43:28Z")

</div>

Ok you may need to do something like this:

```auto
thisHandle = system.gui.getCurrentDesktop()
thisDesktop = system.gui.desktop(thisHandle)
thisDesktop.messageBox('test','test')

```

This should grab the current desktop that the event is being called on and then getting the desktop and then showing a messageBox on that desktop.

---

<div class="post-metadata">

**Author:** ![hewking32](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@hewking32](https://forum.inductiveautomation.com/u/hewking32)\
**Post date:** [November 30, 2021, 2:48pm UTC](https://forum.inductiveautomation.com/t/8-0-10-popup-in-the-wrong-screen/53496/9 "2021-11-30T14:48:19Z")

</div>

i will try it out later and provide feedback  
many thanks
