# \[Bug-11810\]Perspective Popup closing on its own - bug?

**URL:** <https://forum.inductiveautomation.com/t/bug-11810-perspective-popup-closing-on-its-own-bug/32306>\
**Category:** Ignition\
**Created:** [February 16, 2020, 2:07am UTC](https://forum.inductiveautomation.com/t/bug-11810-perspective-popup-closing-on-its-own-bug/32306 "2020-02-16T02:07:18Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![weertske](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weertske/32/3353_2.png) [@weertske](https://forum.inductiveautomation.com/u/weertske)\
**Post date:** [February 16, 2020, 2:07am UTC](https://forum.inductiveautomation.com/t/bug-11810-perspective-popup-closing-on-its-own-bug/32306/1 "2020-02-16T02:07:18Z")

</div>

Running 8.0.8  
Opening a popup with this command:

```auto
position={'top':'0.5%','height':'99%','width':'98%'}	
system.perspective.openPopup("RSE","RecipeBuilder/Popups/RecipeStepEdit",showCloseIcon=False,modal=True,position=position)

```

Popup is closing on its own, the only way this popup should close is with a button press. Did not experience this on 8.0.7

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [February 18, 2020, 4:08pm UTC](https://forum.inductiveautomation.com/t/bug-11810-perspective-popup-closing-on-its-own-bug/32306/2 "2020-02-18T16:08:16Z")

</div>

> [@weertske](#):
>
> position={'top':'0.5%','height':'99%','width':'98%'} system.perspective.openPopup("RSE","RecipeBuilder/Popups/RecipeStepEdit",showCloseIcon=False,modal=True,position=position)

I'm not encountering this. Is there any possibility of something else in the project closing a Popup with that ID? What happens if you change the ID temporarily?

---

<div class="post-metadata">

**Author:** ![weertske](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weertske/32/3353_2.png) [@weertske](https://forum.inductiveautomation.com/u/weertske)\
**Post date:** [February 20, 2020, 12:07am UTC](https://forum.inductiveautomation.com/t/bug-11810-perspective-popup-closing-on-its-own-bug/32306/3 "2020-02-20T00:07:17Z")

</div>

I changed the ID and it still occurred. It can take anywhere from 1 second to 90 seconds but it is consistent.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [February 20, 2020, 3:23pm UTC](https://forum.inductiveautomation.com/t/bug-11810-perspective-popup-closing-on-its-own-bug/32306/4 "2020-02-20T15:23:33Z")

</div>

Is there any chance you could send me the .json files for the View which opens the popup along with the View of the Popup itself?

---

<div class="post-metadata">

**Author:** ![weertske](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weertske/32/3353_2.png) [@weertske](https://forum.inductiveautomation.com/u/weertske)\
**Post date:** [February 22, 2020, 5:31pm UTC](https://forum.inductiveautomation.com/t/bug-11810-perspective-popup-closing-on-its-own-bug/32306/5 "2020-02-22T17:31:34Z")

</div>

I am working with support on this. This happens to all popups within this project. I will try creating a new popup on a new project and see if it occurs.

---

<div class="post-metadata">

**Author:** ![weertske](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weertske/32/3353_2.png) [@weertske](https://forum.inductiveautomation.com/u/weertske)\
**Post date:** [February 22, 2020, 5:59pm UTC](https://forum.inductiveautomation.com/t/bug-11810-perspective-popup-closing-on-its-own-bug/32306/6 "2020-02-22T17:59:23Z")

</div>

> [@weertske](#):
>
> position={'top':'0.5%','height':'99%','width':'98%'} system.perspective.openPopup("RSE","RecipeBuilder/Popups/RecipeStepEdit",showCloseIcon=False,modal=True,position=position)

Both on a new project and this existing project, if I create a new popup it behaves properly. Now, how do I fix the corrupted popups? I noticed this problem started occurring when I tested 8.0.8-rc1.

---

<div class="post-metadata">

**Author:** ![weertske](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weertske/32/3353_2.png) [@weertske](https://forum.inductiveautomation.com/u/weertske)\
**Post date:** [February 22, 2020, 10:13pm UTC](https://forum.inductiveautomation.com/t/bug-11810-perspective-popup-closing-on-its-own-bug/32306/7 "2020-02-22T22:13:59Z")

</div>

Well, I have good news and bad news. There was another script running periodically to close a popup and when it runs it closes all the popups. Modifying the script to not run solved the immediate problem. However, the periodic close script was directed a particular popup with a very specific ID. However, it is closing any popup that is open, ignoring the ID.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [February 24, 2020, 3:21pm UTC](https://forum.inductiveautomation.com/t/bug-11810-perspective-popup-closing-on-its-own-bug/32306/8 "2020-02-24T15:21:00Z")

</div>

I also have good news and bad news.

The good news:  
We’re aware of this issue where `system.perspective.closePopup` will close the most recently opened Popup if the specified ID is not found.

The bad news:  
We’ve been aware of it for a long while now and no action has been taken on the ticket.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [April 6, 2020, 6:59pm UTC](https://forum.inductiveautomation.com/t/bug-11810-perspective-popup-closing-on-its-own-bug/32306/9 "2020-04-06T18:59:58Z")

</div>

The issue with system.perspective.closePopup() has been fixed for 8.0.12 and will be in the next nightly build.

---

<div class="post-metadata">

**Author:** ![josh.middleton](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@josh.middleton](https://forum.inductiveautomation.com/u/josh.middleton)\
**Post date:** [June 9, 2020, 10:48pm UTC](https://forum.inductiveautomation.com/t/bug-11810-perspective-popup-closing-on-its-own-bug/32306/10 "2020-06-09T22:48:28Z")

</div>

Hi PGriffith,

I’m still having an issue with system.perspective.closePopup() closing other popups after upgrading to 8.0.12. Are there any reasons why this could still be happening?

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [June 9, 2020, 11:52pm UTC](https://forum.inductiveautomation.com/t/bug-11810-perspective-popup-closing-on-its-own-bug/32306/11 "2020-06-09T23:52:36Z")

</div>

Due to a critical issue, 8.0.12 was actually more of a hot-fix for 8.0.11 than it was a full release, and the content planned for 8.0.12 was moved into 8.0.13. When @paul-griffith made the 8.0.12 claim he was correct, but the release cycle was changed after the fact and so the fix for this issue is actually in 8.0.13. Sorry for the miscommunication @josh.middleton, but we don’t have a good way to search for places where we might have suggested a fix was part of a release.
