# system.nav.goBack() buggy in 7.9.5?

**URL:** <https://forum.inductiveautomation.com/t/system-nav-goback-buggy-in-7-9-5/16768>\
**Category:** Ignition\
**Created:** [January 27, 2018, 7:14pm UTC](https://forum.inductiveautomation.com/t/system-nav-goback-buggy-in-7-9-5/16768 "2018-01-27T19:14:20Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![brian.mcenulty](https://avatars.discourse-cdn.com/v4/letter/b/b77776/32.png) [@brian.mcenulty](https://forum.inductiveautomation.com/u/brian.mcenulty)\
**Post date:** [January 27, 2018, 7:14pm UTC](https://forum.inductiveautomation.com/t/system-nav-goback-buggy-in-7-9-5/16768/1 "2018-01-27T19:14:20Z")

</div>

I’ve recently upgraded to 7.9.5 on a project (it was 7.9.3 before) and I’ve noticed that the system.nav.goBack() function doesn’t seem to be working reliably. If I navigate through three screens and press a button using the goBack() function, I’ll often times be returned to the first screen rather than the second. Other times the function seems to work as expected. Is this a known issue with 7.9.5?

---

<div class="post-metadata">

**Author:** ![brian.mcenulty](https://avatars.discourse-cdn.com/v4/letter/b/b77776/32.png) [@brian.mcenulty](https://forum.inductiveautomation.com/u/brian.mcenulty)\
**Post date:** [February 20, 2018, 7:20pm UTC](https://forum.inductiveautomation.com/t/system-nav-goback-buggy-in-7-9-5/16768/2 "2018-02-20T19:20:07Z")

</div>

I believe I have this sorted out now. At one point I had two main windows set to launch on startup, I this somehow was causing the issue because after I changed it so that only a single window would launch on startup the goBack function worked as expected.

---

<div class="post-metadata">

**Author:** ![fisayoa](https://avatars.discourse-cdn.com/v4/letter/f/5f9b8f/32.png) [@fisayoa](https://forum.inductiveautomation.com/u/fisayoa)\
**Post date:** [August 9, 2018, 1:56pm UTC](https://forum.inductiveautomation.com/t/system-nav-goback-buggy-in-7-9-5/16768/3 "2018-08-09T13:56:48Z")

</div>

> [@brian.mcenulty](#):
>
> point I had two main windows set to launch on startup, I this somehow was causing the issue because after I changed it so that only a single window would launch on startup the goBack function worked as expected.

I noticed the function isnt working for me.  
Is it possible to make use system.nav.goBack() when I have 2 windows opened on startup?

---

<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:** [August 9, 2018, 3:12pm UTC](https://forum.inductiveautomation.com/t/system-nav-goback-buggy-in-7-9-5/16768/4 "2018-08-09T15:12:46Z")

</div>

> [@fisayoa](#):
>
> Is it possible to make use system.nav.goBack() when I have 2 windows opened on startup?

Not if they are two "main" windows. You'll have to implement your own navigation using openWindow/closeWindow if you don't stick to the "typical" navigation strategy - one main window, x docked windows, and however many popups you desire.

---

<div class="post-metadata">

**Author:** ![fisayoa](https://avatars.discourse-cdn.com/v4/letter/f/5f9b8f/32.png) [@fisayoa](https://forum.inductiveautomation.com/u/fisayoa)\
**Post date:** [August 9, 2018, 9:40pm UTC](https://forum.inductiveautomation.com/t/system-nav-goback-buggy-in-7-9-5/16768/5 "2018-08-09T21:40:48Z")

</div>

> [@paul-griffith](#):
>
> ey are two "main" windows. You'll have to implement your own navigation using openWindow/closeWindow if you don't stick to the "typical" navigation strategy - one main window, x docked windows, and however many popups you desire.

Thanks PGriffith  
I have in my startup a navigation with a north DockPosition locationX:0 Y:0 and a window with a Dock Position set to Floating.  
But the system.nav.goBack() and system.nav.goForward() function is not responding.  
Am I omitting anythig? If yes, I will appreciate an example of implementing this.  
It will be great if this works.

---

<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:** [August 9, 2018, 10:05pm UTC](https://forum.inductiveautomation.com/t/system-nav-goback-buggy-in-7-9-5/16768/6 "2018-08-09T22:05:15Z")

</div>

Try creating a new ‘Main’ window and a new ‘Docked’ window and compare the attributes (start maximized, dock position, etc) and ensure that your “main” window matches the defined ‘main’ window.
