Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Problem/Bug]: FindNext/FindPrevious doesn't seem to do anything #5060

Open
pushkin- opened this issue Jan 27, 2025 · 0 comments
Open

[Problem/Bug]: FindNext/FindPrevious doesn't seem to do anything #5060

pushkin- opened this issue Jan 27, 2025 · 0 comments
Assignees
Labels
bug Something isn't working tracked We are tracking this work internally.

Comments

@pushkin-
Copy link

pushkin- commented Jan 27, 2025

What happened?

I start a Find session:

CoreWebView2FindOptions findOptions = focusedWindow.ActiveWebView.CoreWebView2.Environment.CreateFindOptions();
focusedWindow.ActiveWebView.CoreWebView2.Find.StartAsync(findOptions);

When focused in the Find popup, I can press F3 to go to the next search.

When I focus in the main window and press F3 (which will be intercepted by our code, and we'll call):

CoreWebView2FindWrapper findInterface = focusedWindow.ActiveWebView.CoreWebView2.Find;
findInterface.FindNext();

nothing happens.

It seems like we might have to be focused on the Find popup for that to work, but I don't see any Focus() API for the Find interface. It would be nice if that automatically moved focus to the Find UI and navigated to the next search result.

Before calling FindNext, I can inspect the Find interface and see that it's active and it has found some searches:

Image

This works fine in browsers.

Importance

Important. My app's user experience is significantly compromised.

Runtime Channel

Prerelease (Edge Canary/Dev/Beta)

Runtime Version

134.0.3101.0 canary

SDK Version

1.0.3079.0 prerelease

Framework

Winforms

Operating System

Windows 11

OS Version

23H2 - 22631.4602

Repro steps

can post an example if you'd like

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

No, this never worked

Last working version (if regression)

No response

@pushkin- pushkin- added the bug Something isn't working label Jan 27, 2025
@prija-microsoft prija-microsoft added the tracked We are tracking this work internally. label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tracked We are tracking this work internally.
Projects
None yet
Development

No branches or pull requests

2 participants