4ian / GDevelop

:video_game: Open-source, cross-platform game engine designed to be used by everyone.

Home Page:https://gdevelop.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Search results for actions/conditions are not updating correctly

LousyMolars opened this issue · comments

Is there an existing issue for this?

Describe the bug

When one type of object is selected and any search was done for it, selecting new type of object will not change search context. Even if you delete search query (by pressing cross icon on the right for example), and select/deselect objects, search still works with "old" selection. Only re-opening popup fixes the issue.
I have tried to demonstrate problem in the video:
https://github.com/4ian/GDevelop/assets/141857198/33360813-fa92-4103-8e49-db6193c524d3

Steps to reproduce

  1. Create new condition or action.
  2. Select object with unique search results.
  3. Try searching for these unique properties.
  4. Clear search field.
  5. Select other object type.
  6. Try searching with same search query, results will be for previously selected object.

GDevelop platform

Desktop

GDevelop version

5.3.187

Platform info

Windows 11

Additional context

No response

Thanks @LousyMolars for taking the time to report the issue!
It will be fixed in the next version.