# \[IGN-6037\] Contextual Find/Replace in Views unexpected behaviour

**URL:** <https://forum.inductiveautomation.com/t/ign-6037-contextual-find-replace-in-views-unexpected-behaviour/65315>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 18, 2022, 12:02am UTC](https://forum.inductiveautomation.com/t/ign-6037-contextual-find-replace-in-views-unexpected-behaviour/65315 "2022-10-18T00:02:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 18, 2022, 12:02am UTC](https://forum.inductiveautomation.com/t/ign-6037-contextual-find-replace-in-views-unexpected-behaviour/65315/1 "2022-10-18T00:02:10Z")

</div>

v8.1.21

If you select multiple Views and right click on them and select Find/Replace in child Views, it doesn't work in a few scenarios:

- you have any of the selected Views open (the tool first expands and selects all components of all selected Views that are open, then it selects all of the components in the last opened View)
- you select another View while the Find/Replace tool is still open (then it just searches within that View, as long as you have the View selected and not a component within the View; the latter will search nothing and return no results whatever you search for)

See below. Look for the START and END text markers at the bottom to denote start and end of the gif.

![v8.1.21_Designer_Context Find Replace Bug](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/a/9a4dee1bd55dd931b31b83ae4ae80f5e4860af38.gif)

The issue here is that the contextual find/replace tool is still using the _ **live** currently selected_ Views/components to process, instead of capturing the selected Views at the time of invoking it and using that list.

---

<div class="post-metadata">

**Author:** ![Jacob\_Klever](https://avatars.discourse-cdn.com/v4/letter/j/ee7513/32.png) [@Jacob\_Klever](https://forum.inductiveautomation.com/u/Jacob_Klever)\
**Post date:** [November 8, 2022, 10:12pm UTC](https://forum.inductiveautomation.com/t/ign-6037-contextual-find-replace-in-views-unexpected-behaviour/65315/2 "2022-11-08T22:12:32Z")

</div>

Hello nminchin,

Thank you for your post a bug ticket has been created to address this issue. This post has been added to the internal bug ticket to increase its visibility.
