-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
-
What version of the product are you using?
79.1.360.0 -
What architecture x86 or x64?
x64 -
On what operating system?
Win10 -
Are you using
WinForms,WPForOffScreen?
WinForms -
What steps will reproduce the problem?
browser = new ChromiumWebBrowser("");
browser.FindHandler = new CefFindHandler();
Using the most basic function:
browser.Find(1, "FindText", true, false, false);
- What is the expected output? What do you see instead?
The OnFindResult was supposed to return the identifier passed but, instead, it's returning an incremented number regardless if I'm doing a Find First, Previous, Next, or Last.
In addition, while the count and activeMatchOrdinal is correct, it appears to be connected to the last First/Last find, not necessarily associated with the identifier.
For example, if I did this and the result reports 20, the next and previous works fine and provides the correct count/activeMatchOrdinal.
browser.Find(1, "FindText", true, false, false);
If I did this and the result reports 30, the next and previous works fine and provides the correct count/activeMatchOrdinal as well, however, it will report off of the new search only.
browser.Find(2, "FindText2", true, false, false);
If I did a Find Previous or Next, the count/activeMatchOrdinal returns information from the browser.Find(2,.... instead, until a browser.Find(1,... was used in conjunction with a First or Last, which will then reset and provide the correct info.
browser.Find(1, "FindText", false, false, true);
browser.Find(1, "FindText", true, false, true);
The output that's expected should be associated with the identifier that's passed and the identifier passed should be the value that's returned rather than an incremented number.