# \[Bug-1518\]Popup Drag reset view parameters

**URL:** <https://forum.inductiveautomation.com/t/bug-1518-popup-drag-reset-view-parameters/42053>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [January 8, 2021, 8:48am UTC](https://forum.inductiveautomation.com/t/bug-1518-popup-drag-reset-view-parameters/42053 "2021-01-08T08:48:24Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arnaud\_Declerck](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/arnaud_declerck/32/44872_2.png) [@Arnaud\_Declerck](https://forum.inductiveautomation.com/u/Arnaud_Declerck)\
**Post date:** [January 8, 2021, 8:48am UTC](https://forum.inductiveautomation.com/t/bug-1518-popup-drag-reset-view-parameters/42053/1 "2021-01-08T08:48:24Z")

</div>

Hi,

On a popup view i have some parameters.  
Those parameters are set at the open event script.

If i change those parameters (for exemple on a click of a button into the popup view) and that i drag the popup on another position on the screen those parameters get the value given by the open screen popup.

Is this logical ? Have someone a solution to avoid this?

Regards

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [January 8, 2021, 9:00am UTC](https://forum.inductiveautomation.com/t/bug-1518-popup-drag-reset-view-parameters/42053/2 "2021-01-08T09:00:10Z")

</div>

Which version do you use?

---

<div class="post-metadata">

**Author:** ![Arnaud\_Declerck](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/arnaud_declerck/32/44872_2.png) [@Arnaud\_Declerck](https://forum.inductiveautomation.com/u/Arnaud_Declerck)\
**Post date:** [January 8, 2021, 9:26am UTC](https://forum.inductiveautomation.com/t/bug-1518-popup-drag-reset-view-parameters/42053/3 "2021-01-08T09:26:44Z")

</div>

Version 8.1.1 with edge panel

---

<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:** [January 8, 2021, 5:02pm UTC](https://forum.inductiveautomation.com/t/bug-1518-popup-drag-reset-view-parameters/42053/4 "2021-01-08T17:02:47Z")

</div>

> [@Arnaud\_Declerck](#):
>
> Those parameters are set at the open event script.

I wouldn't recommend a setup like this. I'm not saying it won't work in certain instances, but params are best set with default values in the Designer, and those values can be overridden when the View is opened via whatever mechanism you're using (in this case the Popup Action or `openPopup()` ).

So if you're setting the param in a startup event, you might never see that value if it's overridden by an Action/Script.

All of that being said, I was able to replicate what you're seeing and we definitely do NOT want that param view to reset itself. I'll open a ticket to get it fixed.

---

<div class="post-metadata">

**Author:** ![Arnaud\_Declerck](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/arnaud_declerck/32/44872_2.png) [@Arnaud\_Declerck](https://forum.inductiveautomation.com/u/Arnaud_Declerck)\
**Post date:** [January 12, 2021, 6:54am UTC](https://forum.inductiveautomation.com/t/bug-1518-popup-drag-reset-view-parameters/42053/5 "2021-01-12T06:54:15Z")

</div>

Hi @cmallonee,

Thanks for the reply. i've found a workaround with the use of memory tags to save the parameters externally of the popup. not the proper way but it helps for the moment.

Regards

---

<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:** [January 12, 2021, 3:56pm UTC](https://forum.inductiveautomation.com/t/bug-1518-popup-drag-reset-view-parameters/42053/6 "2021-01-12T15:56:52Z")

</div>

Session properties would be a better solution, since they’re used per-session, whereas tags are per-gateway; concurrent users would trample tag values.

Also, we’re now unable to replicate the issue. I got video of it occurring locally, but then two days later I can no longer get it to occur on the same environment. We’re looking at it one more time today.

---

<div class="post-metadata">

**Author:** ![Arnaud\_Declerck](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/arnaud_declerck/32/44872_2.png) [@Arnaud\_Declerck](https://forum.inductiveautomation.com/u/Arnaud_Declerck)\
**Post date:** [January 12, 2021, 7:05pm UTC](https://forum.inductiveautomation.com/t/bug-1518-popup-drag-reset-view-parameters/42053/7 "2021-01-12T19:05:10Z")

</div>

I've just tested on my early test server under 8.1.2 and i didn't replicate it.  
on the actual dev server even after backup gateway reinstall ignition edge and restore gateway. the problem still occur.

Regards

---

<div class="post-metadata">

**Author:** ![Arnaud\_Declerck](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/arnaud_declerck/32/44872_2.png) [@Arnaud\_Declerck](https://forum.inductiveautomation.com/u/Arnaud_Declerck)\
**Post date:** [February 11, 2021, 1:50pm UTC](https://forum.inductiveautomation.com/t/bug-1518-popup-drag-reset-view-parameters/42053/8 "2021-02-11T13:50:40Z")

</div>

Hi @cmallonee,

Did you get any update on this issue? I've update my server to 8.1.2 (Edge version) and this still occur.  
It's not only happening on popup drag, but also when the popup lost focus.

Regards

---

<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 11, 2021, 9:10pm UTC](https://forum.inductiveautomation.com/t/bug-1518-popup-drag-reset-view-parameters/42053/9 "2021-02-11T21:10:51Z")

</div>

No update. Fix will not be in 8.1.3.

---

<div class="post-metadata">

**Author:** ![Arnaud\_Declerck](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/arnaud_declerck/32/44872_2.png) [@Arnaud\_Declerck](https://forum.inductiveautomation.com/u/Arnaud_Declerck)\
**Post date:** [February 12, 2021, 7:27am UTC](https://forum.inductiveautomation.com/t/bug-1518-popup-drag-reset-view-parameters/42053/10 "2021-02-12T07:27:32Z")

</div>

Hi @cmallonee,

Thanks for the update.

Here a little bit more info coming from some test made yesterday about the issue:

- The reset of the view parameters only occur when a value was given with the open Popup function. Otherwise the value stay correct even when moving popup or lost focus.
- Normally i was using scripting to open my popup, for test purpose i've made the same opening with the popup open event and the result stay the same with both methods
- This occur in all major web browser and in workstation

Hope those infos are useful to get this fixed

Regards

---

<div class="post-metadata">

**Author:** ![Arnaud\_Declerck](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/arnaud_declerck/32/44872_2.png) [@Arnaud\_Declerck](https://forum.inductiveautomation.com/u/Arnaud_Declerck)\
**Post date:** [June 1, 2021, 1:57pm UTC](https://forum.inductiveautomation.com/t/bug-1518-popup-drag-reset-view-parameters/42053/11 "2021-06-01T13:57:03Z")

</div>

Hi @cmallonee ,

Any update on this ?

Regards

---

<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 1, 2021, 2:15pm UTC](https://forum.inductiveautomation.com/t/bug-1518-popup-drag-reset-view-parameters/42053/12 "2021-06-01T14:15:38Z")

</div>

The bug was reviewed and closed due to what appears to be a misunderstanding of the issue. I’ve re-opened that issue and sent it back for review with clarification.

---

<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 1, 2021, 6:22pm UTC](https://forum.inductiveautomation.com/t/bug-1518-popup-drag-reset-view-parameters/42053/13 "2021-06-01T18:22:53Z")

</div>

The issue has now correctly been classified and is in the queue for repair.

---

<div class="post-metadata">

**Author:** ![matthew.gollasch](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matthew.gollasch/32/26382_2.png) [@matthew.gollasch](https://forum.inductiveautomation.com/u/matthew.gollasch)\
**Post date:** [July 13, 2021, 5:46am UTC](https://forum.inductiveautomation.com/t/bug-1518-popup-drag-reset-view-parameters/42053/14 "2021-07-13T05:46:30Z")

</div>

FYI I am experiencing this same bug in version 8.1.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:** [July 13, 2021, 3:31pm UTC](https://forum.inductiveautomation.com/t/bug-1518-popup-drag-reset-view-parameters/42053/15 "2021-07-13T15:31:18Z")

</div>

Because we haven’t begun development on the fix yet. We’ll try our hardest to update this thread when the fix has ben implemented.

---

<div class="post-metadata">

**Author:** ![Arnaud\_Declerck](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/arnaud_declerck/32/44872_2.png) [@Arnaud\_Declerck](https://forum.inductiveautomation.com/u/Arnaud_Declerck)\
**Post date:** [November 1, 2021, 5:14pm UTC](https://forum.inductiveautomation.com/t/bug-1518-popup-drag-reset-view-parameters/42053/16 "2021-11-01T17:14:58Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/1/817fee0b105db751698d289504ce87f400e5f5b8.png)  
Hello Everyone,  
I've not tested the nightly build yet but according to the changelog this problem seems to be solved.

Regards

---

<div class="post-metadata">

**Author:** ![Arnaud\_Declerck](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/arnaud_declerck/32/44872_2.png) [@Arnaud\_Declerck](https://forum.inductiveautomation.com/u/Arnaud_Declerck)\
**Post date:** [November 29, 2021, 6:31pm UTC](https://forum.inductiveautomation.com/t/bug-1518-popup-drag-reset-view-parameters/42053/17 "2021-11-29T18:31:58Z")

</div>

This bug seems do still be present in 8.1.12

> [@\[BUG - 5694\] BREAKING BUG ViewParams 8.1.12 (For custom components?)](https://forum.inductiveautomation.com/t/bug-breaking-bug-viewparams-8-1-12-for-custom-components/53277/13):
>
> Welcome, Mitchell\_Dennis. Will you please explain to me how you have your popup configured. I’m not sure what “original view” means. Are you saying that your popup View is writing back to a property of the Page on startup? By “reset” you mean writing the value of a persistent property? Is this happening occasionally or is it consistent and easily reproducible? Thanks. Scratch that. I’m able to reproduce the issue. Doing some investigating. Will respond with what I find. Thanks.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [November 30, 2021, 7:41am UTC](https://forum.inductiveautomation.com/t/bug-1518-popup-drag-reset-view-parameters/42053/18 "2021-11-30T07:41:41Z")

</div>

its actually not the same, the moving seems to be working now, but the bug me and mitchell have is triggered differently.
