# system.nav.desktop().closeWindow() problem

**URL:** <https://forum.inductiveautomation.com/t/system-nav-desktop-closewindow-problem/33260>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [March 19, 2020, 10:46pm UTC](https://forum.inductiveautomation.com/t/system-nav-desktop-closewindow-problem/33260 "2020-03-19T22:46:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vicente.agosin](https://avatars.discourse-cdn.com/v4/letter/v/a6a055/32.png) [@vicente.agosin](https://forum.inductiveautomation.com/u/vicente.agosin)\
**Post date:** [March 19, 2020, 10:46pm UTC](https://forum.inductiveautomation.com/t/system-nav-desktop-closewindow-problem/33260/1 "2020-03-19T22:46:43Z")

</div>

Hello.  
I have a question that i think is simple, but i have not been able to undestand.  
(I am using Ignition 8.0.8 under Linux OS (Lubuntu))  
I have a problem following along with the certification under the multiple desktops theme.  
I have created 2 desktops (with the new docked window option), and in the main window created 3 buttons. One button open window 1 (called DW1), the sencond opens window2 (DW2), and the third button closes window 1. the windows open with no problem and i am able to pass parameters, etc…  
The problem is that when I want to close the DW1 window, I am not able to do it.  
The button that opens the window has the following script:

system.gui.openDesktop(screen=0,handle=[“v-1”],windows=[“DW1”],x=800,y=0,width=400,height=700)

The button that closes the window has the following script:

system.nav.desktop(“v-1”).closeWindow(“DW1”)

But the DW1 window, just minimizes, it does not close.  
I have tried changing the name of the windows, calling it like “Main Window/DW1”, calling it by the screen name (system.nav.desktop(0).closeWindow(“DW1”), also (1), but it does not work.

Also, is a desktop and a window the same?

Thanks a lot in advance!

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 20, 2020, 1:19am UTC](https://forum.inductiveautomation.com/t/system-nav-desktop-closewindow-problem/33260/2 "2020-03-20T01:19:30Z")

</div>

> [@vicente.agosin](#):
>
> I have a problem following along with the certification

You're not allowed to use this forum to help you with certification problems.

---

<div class="post-metadata">

**Author:** ![vicente.agosin](https://avatars.discourse-cdn.com/v4/letter/v/a6a055/32.png) [@vicente.agosin](https://forum.inductiveautomation.com/u/vicente.agosin)\
**Post date:** [March 20, 2020, 4:34am UTC](https://forum.inductiveautomation.com/t/system-nav-desktop-closewindow-problem/33260/3 "2020-03-20T04:34:25Z")

</div>

Ok. Is there a place where this questions can be asked?.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 20, 2020, 11:32am UTC](https://forum.inductiveautomation.com/t/system-nav-desktop-closewindow-problem/33260/4 "2020-03-20T11:32:18Z")

</div>

The whole point of a certification test is that you demonstrate your ability to solve such problems yourself.

---

<div class="post-metadata">

**Author:** ![vicente.agosin](https://avatars.discourse-cdn.com/v4/letter/v/a6a055/32.png) [@vicente.agosin](https://forum.inductiveautomation.com/u/vicente.agosin)\
**Post date:** [March 21, 2020, 11:07pm UTC](https://forum.inductiveautomation.com/t/system-nav-desktop-closewindow-problem/33260/5 "2020-03-21T23:07:40Z")

</div>

I understand
