Commit 4c305cba authored by Alexandru Croitor's avatar Alexandru Croitor
Browse files

Disabled WebEngine views should not receive focus.


Currently if a QWebEngineView or a QQuickWebEngineView is disabled
using setEnabled(false), after loading a web page, the views are
automatically focused, and a user might see a blinking caret in an html
input for example, even though the user can't interact with it.

Fix consists in not calling the Focus() method whenever a view is
disabled.

Change-Id: I1014fb5898a5ddf01a4e9b14c3eaf5d4006e5131
Task-number: QTBUG-53159
Reviewed-by: default avatarMichal Klocek <michal.klocek@theqtcompany.com>
parent aeea8816
Branches
Tags
No related merge requests found
Showing with 82 additions and 0 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment