-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
WinForms Example - Find not correctly selecting next match. #4542
Comments
The
What does that mean exactly? What's a bit better? No matches in the |
A bit better means, it jumops from match to match and marks that current match, but it doesn't highlight all the matches like it does for HTML. This is like Google Chrome seems to behave as well. In CefSharp neither of that works. |
The example likely needs some improvements then. You can compare to the
That's just the example. Long as the API is mapped correctly you should be able to achieve the same behaviour as Renaming this issue as we'll use to track improvements to the example. The highlight in the |
Open any PDF file in the browser with "file:///" Can you address this issue? If so, could you please provide details on the steps you took to resolve it? |
Hello @lutz-fechner, were you able to solve the issue with the suggestion provided by @amaitland? We are also facing the exact same issue. Just curious if there is any way around it. |
No I did not solve this issue. When I compared the code of both examples, they looked quite similar to me. Would be better if someone checks this, that has better understanding how the integration between Cef and CefSharp works. |
Is there an existing issue for this?
CefSharp Version
113.1.4
Operating System
Windows 11
Architecture
x86
.Net Version
4.8
Implementation
WinForms
Reproduction Steps
--> Find(...) method will be executed and found results are marked in the scroll bar at the side
--> Matching text will not be highlighted and "Find Next", "Find Previous" buttons won't do anything visible to the user (they also do not seem to do from HTML pages)
Expected behavior
Matching content is highlighted (like it is for HTML documents) and the browser scrolls to make the match visible, if not currently visible.
Actual behavior
Matches are only indicated in the scroll bar but no highlighting is visible.
Regression?
No response
Known Workarounds
No response
Does this problem also occur in the CEF Sample Application
No
Other information
Not sure if it is a CefSharp or a CEF issue. The CEF sample application behaves a bit better, but has a different search dialog compared to the WinForms Example that comes with CefSharp.
The text was updated successfully, but these errors were encountered: