Skip to content

The browser is focused automatically when the mouse moves over the web contents. #581

@salvadordf

Description

@salvadordf

The browser captures the mouse and gets the focus as soon as it hovers over the web contents.

The browser shows a blinking cursor and then the TChromiumCore.OnGotFocus event is triggered. The QT6 demos set the focus on the TCEFLinkedWindowParent instance after that.

This issue only affects the QT6 demos using browsers in normal mode.
Browsers in OSR mode or using GTK are not affected or have workarounds.

The CEF project has 2 open issues about the focus in Linux : #2026, #3304

The #1856 issue could also be related.

cefpython is also affected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions