elementary / code

Code editor designed for elementary OS
https://elementary.io
GNU General Public License v3.0
472 stars 112 forks source link

Duplicated items in "Find In Project Popover" #1418

Closed colinkiama closed 8 months ago

colinkiama commented 8 months ago

What Happened?

Opened popover with a project open and started entering a query. Some of the results I got were duplicates.

Steps to Reproduce

Unable to reproduce, happens randomly.

Screenshot from 2024-01-25 19 16 31

Expected Behavior

No duplicated items

OS Version

7.x (Horus)

Software Version

Compiled from git

Log Output

No response

Hardware Info

No response

colinkiama commented 8 months ago

I suspect that there are changes to files that could be happening elsewhere (git, files app etc.) which could be causing this.

However, this problem should never occur again if the relative file paths stored in Scratch.Services.SearchProject are stored in a Set