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

osr: chrome-runtime + alloy-style : focus is not fired in some scenarios #3870

Open
Hethsron opened this issue Jan 16, 2025 · 0 comments
Open
Labels
bug Bug report

Comments

@Hethsron
Copy link

Hethsron commented Jan 16, 2025

Describe the bug
Hello @magreenblatt

We recently encountered a problem with the focus in CEF. We had difficulty reproducing it because it rarely happened. But we're contacting you today because we've managed to find a simple scenario that you can easily reproduce.

To Reproduce
Steps to reproduce the behavior:

  1. Run cefclient using the following command to to https://duckduckgo.com
cefclient.exe --use-alloy-style --enable-chrome-runtime --off-screen-rendering-enabled --enable-logging=stderr --v=1 --url=https://duckduckgo.com
  1. Try to search something on the first page to be redirected on another.
  2. Write something in the new input field and clear it.
  3. Then click again in the input field, the carret, which originally appeared as a flashing vertical bar, is no longer displayed. But you can still type.

In our case, we observed this expected behaviour in a form created with VueJS. We had a drop-down list that wasn't displayed because the focus event hadn't been received, even though the activeElement property had changed.

We tested with Chrome and Edge and didn't have the problem. The problem only occurs when you activate the Chrome runtime with the Alloy style.

Expected behavior
We expect the behaviour to be in line with that of Chrome and Edge.

Video
https://github.com/user-attachments/assets/fbc9e37e-ce6e-4002-91ca-14be454da1fd

Impacted Version:

  • OS: Windows 10, MacOS 13.2, Ubuntu 22.10
  • CEF Version: 125, 126, 127, 128, 129, 130, 131, 132, 133 (using Chrome Runtime + Alloy Style)

Additional context
Yes, the problem is reproducible with cefclient as you can see.

@Hethsron Hethsron added the bug Bug report label Jan 16, 2025
@Hethsron Hethsron changed the title osr: offscreen-rendering : focus does not work as expected osr: chrome-runtime + alloy-style : focus does not work as expected Jan 16, 2025
@Hethsron Hethsron changed the title osr: chrome-runtime + alloy-style : focus does not work as expected osr: chrome-runtime + alloy-style : focus is not fired in some scenarios Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report
Projects
None yet
Development

No branches or pull requests

1 participant