Bug: Find and Replace dialog displays length of longest string in dropdown list

I recently started playing with the Find and Replace feature from 2.1.24 and used a long string to clean up a bunch of cards. The feature is great! The bug is just that the application saved this string and now causes my dialog window to extend past the Anki window and actually past my own laptop screen in order to fit it (used an external monitor to take the screenshot). Add-ons were disabled and Anki version is 2.1.30.


On a less related note, Anki did not like me using quotes in my string even though Python Regex websites seem to not mind. Why is that? I used [^a-zA-Z0-9<>-] instead and that worked well enough for me I’m just curious. :upside_down_face:

Thanks for the report, the sizing issue will be fixed in the next build. Quotes work for me in regex mode, maybe you were using single instead of double or vice versa?