Commit 54e108f1 authored by Peter Varga's avatar Peter Varga
Browse files

Fix emitting selectionChanged signal for non-user text selection change


This fixes the case when the text selection is triggered by JavaScript.
Text selection changes triggered by IME composition text replecement are
ignored. Test has been added for mouse selection clipboard: non-user
text selection should not update the clipboard.

Pulls in Chromium changes:
  3deea95 Update TextSelection for non-user initiated events

Task-number: QTBUG-53134
Task-number: QTBUG-60381
Change-Id: Ib94f57a2aa61248fba75f595245fb388b9609b6c
Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
parent 4ea9d515
Showing with 78 additions and 44 deletions
Supports Markdown
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