# Popup right-click on inactive objects

**URL:** <https://forum.inductiveautomation.com/t/popup-right-click-on-inactive-objects/32454>\
**Category:** Ignition Early Access\
**Created:** [February 20, 2020, 10:59am UTC](https://forum.inductiveautomation.com/t/popup-right-click-on-inactive-objects/32454 "2020-02-20T10:59:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Henk](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@Henk](https://forum.inductiveautomation.com/u/Henk)\
**Post date:** [February 20, 2020, 10:59am UTC](https://forum.inductiveautomation.com/t/popup-right-click-on-inactive-objects/32454/1 "2020-02-20T10:59:21Z")

</div>

Version 8.0.8  
When you right-click on an inactive (no mouse action) object, a popup appears with the following options: Restore, Move, Size Minimize, Maximize and Close. All options are not active.  
Can the appearance of this popup be blocked?

---

<div class="post-metadata">

**Author:** ![rbabcock](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/rbabcock/32/13425_2.png) [@rbabcock](https://forum.inductiveautomation.com/u/rbabcock)\
**Post date:** [February 20, 2020, 11:58am UTC](https://forum.inductiveautomation.com/t/popup-right-click-on-inactive-objects/32454/2 "2020-02-20T11:58:53Z")

</div>

You can override the context menu by creating a simple script on the component’s mouseClicked event:

```auto
if event.button == 3: pass

```

---

<div class="post-metadata">

**Author:** ![Henk](https://avatars.discourse-cdn.com/v4/letter/h/b5ac83/32.png) [@Henk](https://forum.inductiveautomation.com/u/Henk)\
**Post date:** [February 20, 2020, 12:38pm UTC](https://forum.inductiveautomation.com/t/popup-right-click-on-inactive-objects/32454/3 "2020-02-20T12:38:39Z")

</div>

Thanks for the tip! It is also possible to disable this in a project without having to walk through all objects?

---

<div class="post-metadata">

**Author:** ![rbabcock](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/rbabcock/32/13425_2.png) [@rbabcock](https://forum.inductiveautomation.com/u/rbabcock)\
**Post date:** [February 20, 2020, 12:56pm UTC](https://forum.inductiveautomation.com/t/popup-right-click-on-inactive-objects/32454/4 "2020-02-20T12:56:10Z")

</div>

As far as I know, and I am no expert, you would have to assign the script on the Root Container for every window. I don’t remember seeing an option anywhere to disable the context menu itself–the script doesn’t really even do that, it just hijacks the mouse event.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [November 2, 2020, 7:30pm UTC](https://forum.inductiveautomation.com/t/popup-right-click-on-inactive-objects/32454/5 "2020-11-02T19:30:51Z")

</div>

I’m a little unclear on what “inactive objects” are being referred to in this thread. Can you elaborate a bit, please?

---

<div class="post-metadata">

**Author:** ![zxcslo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zxcslo/32/61610_2.png) [@zxcslo](https://forum.inductiveautomation.com/u/zxcslo)\
**Post date:** [January 15, 2021, 1:16pm UTC](https://forum.inductiveautomation.com/t/popup-right-click-on-inactive-objects/32454/6 "2021-01-15T13:16:16Z")

</div>

Any object on the screen (inside the Vision window), which doesn’t have any mouse action defined.  
And this is very irritating… and if you click on ‘Close’, the currently opened window is closed and you are… fu\*\*ed…  
In Ignition v8.1.1 is still there…  
 ![Screenshot_6](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/3/230bbf5539452ab692b8579ed919503ed564a963.png)  
Who in IA thought that this was a good idea to enable a popup, which I didn’t define myself and with no possibility to turn that ‘feature’ off?

---

<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:** [June 15, 2022, 4:35pm UTC](https://forum.inductiveautomation.com/t/popup-right-click-on-inactive-objects/32454/7 "2022-06-15T16:35:12Z")

</div>

This is fixed in 8.1.19.

> [@Nightly 8.1 Changelogs - 2022](https://forum.inductiveautomation.com/t/nightly-8-1-changelogs-2022/54636/92):
>
> Weekly Changelog: 8.1.19-b20220614 Visualization 784: Tree View component’s Default Node Selected Background property not working in Ignition 8 Fixed some issues with tree view rendering. Also added two new properties to the tree view component: selectionFillColor, to change the full width selection highlight color, and fullWidthSelection, a boolean allowing you to disable the full width selection highlight entirely. 3787: LaF issue: Vision Progress Bar will always show a border regardless o…
