`find duplicate` window way too large

I have a very long search query in the search history, and it seems the window resize depending on how long the longest query is.

The find duplicate window is twice as large as my screen, it can be resized vertically but not horizontally, and there’s no way to clear the search history.

I searched the code to find a solution, it seems the search history is in the profile prefs21.db table, but I can’t easily read and modify the values there. It the second time I encounter this problem, I was able to fix it in the past but I think the db structure was different.

I filled the search history with shorter search query, so the problem is “solved” for now, but it was very tedious.. it would be nice to have a real fix for that bug :slight_smile:

I’ve logged this on `find duplicate` window way too large after large query · Issue #4181 · ankitects/anki · GitHub