Bug 24833 - Find in Files allows search without search string
Summary: Find in Files allows search without search string
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 5.7
Hardware: All All
: Normal normal
Target Milestone: master
Assignee: Cody Russell
Depends on:
Reported: 2014-11-26 05:58 UTC by Hylke Bons
Modified: 2014-12-05 15:20 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Hylke Bons 2014-11-26 05:58:05 UTC
Find in Files allows you to search when the Find field is empty.
The result is always "0 matches".

Possible solution: disable Find (and Replace) buttons when Find field is empty.
Comment 1 Cody Russell 2014-12-05 14:18:34 UTC

I didn't disable the button because hitting enter would also trigger a search. Also, I made it so that whitespace text like "   " would not trigger a search either.