# Windows blank in client after using find and replace

**URL:** <https://forum.inductiveautomation.com/t/windows-blank-in-client-after-using-find-and-replace/4517>\
**Category:** Ignition\
**Created:** [May 23, 2012, 8:18pm UTC](https://forum.inductiveautomation.com/t/windows-blank-in-client-after-using-find-and-replace/4517 "2012-05-23T20:18:51Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [May 23, 2012, 8:18pm UTC](https://forum.inductiveautomation.com/t/windows-blank-in-client-after-using-find-and-replace/4517/1 "2012-05-23T20:18:51Z")

</div>

Has anyone else experienced windows being blank on the client after using find and replace on script text?

if i open the window that is blank in the designer and click save and publish the window will display correctly in the client again.

Thanks for the help,

---

<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:** [May 23, 2012, 8:56pm UTC](https://forum.inductiveautomation.com/t/windows-blank-in-client-after-using-find-and-replace/4517/2 "2012-05-23T20:56:42Z")

</div>

Can you explain how to reproduce this?

---

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [May 23, 2012, 9:49pm UTC](https://forum.inductiveautomation.com/t/windows-blank-in-client-after-using-find-and-replace/4517/3 "2012-05-23T21:49:55Z")

</div>

What i did was i used find on all windows in the project and i searched for “fpmi.nav.centerWindow\*”

then i replaced with the string “#removed centerWindow function”

after it finished the replace I saved and published the project. when i opened the client all the components were missing and the startup window was blank.

---

<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:** [May 25, 2012, 4:30pm UTC](https://forum.inductiveautomation.com/t/windows-blank-in-client-after-using-find-and-replace/4517/4 "2012-05-25T16:30:32Z")

</div>

Hmm, I was unable to reproduce this. Can you copy the project to a test machine and see if it happens again?

---

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [May 25, 2012, 4:53pm UTC](https://forum.inductiveautomation.com/t/windows-blank-in-client-after-using-find-and-replace/4517/5 "2012-05-25T16:53:12Z")

</div>

yes it does the same thing on a different machine. i sent an email into support with the project files of before and after the replace.

---

<div class="post-metadata">

**Author:** ![Michael.Stofan](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.stofan/32/3342_2.png) [@Michael.Stofan](https://forum.inductiveautomation.com/u/Michael.Stofan)\
**Post date:** [June 4, 2012, 5:27pm UTC](https://forum.inductiveautomation.com/t/windows-blank-in-client-after-using-find-and-replace/4517/6 "2012-06-04T17:27:10Z")

</div>

I have also tried replicating the issue without success. What version of Ignition are you running? Also, when your components disappear can you still see them in the Project Browser hierarchy?

---

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [June 5, 2012, 11:57pm UTC](https://forum.inductiveautomation.com/t/windows-blank-in-client-after-using-find-and-replace/4517/7 "2012-06-05T23:57:21Z")

</div>

7.4.2

The components are only missing in the client not in the designer. all the windows can be seen fine along with the components in the object browser.

Here is how I can reproduce the problem.

create a project  
create a main window that starts on start up  
create a button on the window  
on the button event action performed put the following code

```auto
system.nav.centerWindow("test")

print "test"
```

copy the button 3 times any where on the window  
close and save the window in the designer  
save and publish the project  
press F10 to launch the client  
login to the client  
you will see all the buttons  
leave the client open and go back to the designer  
open find/replace  
find “system.nav.centerWindow”  
replace all with with “#system.nav.centerWindow”  
save and publish the project  
go back to the client  
update the client if it does not auto update  
now all the button are missing

let me know if it happens for you.

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [June 6, 2012, 3:12pm UTC](https://forum.inductiveautomation.com/t/windows-blank-in-client-after-using-find-and-replace/4517/8 "2012-06-06T15:12:53Z")

</div>

I have tried to reproduce this issue as well without success. Call Tech Support and reproduce this in GoTo Meeting so we can see what is going on. Without being able to recreate the problem here we cant really help.

---

<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:** [June 8, 2012, 5:58pm UTC](https://forum.inductiveautomation.com/t/windows-blank-in-client-after-using-find-and-replace/4517/9 "2012-06-08T17:58:10Z")

</div>

Ok we were able to reproduce this with Jonathan’s help. It has been fixed for 7.4.4.
