diff options
author | Sami Merila <sami.merila@nokia.com> | 2011-10-05 12:06:31 (GMT) |
---|---|---|
committer | Sami Merila <sami.merila@nokia.com> | 2011-10-05 12:06:31 (GMT) |
commit | 2a6298bcf29104a4258992c7357a031f4ca9cc7f (patch) | |
tree | 643b613101eac426cd0868b2ffdf38181372eaff /qmake/meta.h | |
parent | 0520b1ce10dc2358d663ee08b53b7de9ce41bb23 (diff) | |
download | Qt-2a6298bcf29104a4258992c7357a031f4ca9cc7f.zip Qt-2a6298bcf29104a4258992c7357a031f4ca9cc7f.tar.gz Qt-2a6298bcf29104a4258992c7357a031f4ca9cc7f.tar.bz2 |
Copy and Cut are not available for some QML editors
Copy and Cut actions do not appear in fullscreen VKB menu when a QML
TextEdit or TextInput element is focused and has selected text.
This happens because input method queries for cursor and anchor
position in QCoeFepInputContext::CcpuCanCut() return zero in this case.
It is probably related to focus changes when the options menu pops up.
When menu pops up from native keyboard, window containing the QML
elements is set as non-active, therefore it loses focus widget, which
in turn causes queries about cursor and anchor positions to return zero.
As a workaround, when there is no microfocus available, ask the
"selectedText" property directly from QML elements.
Task-number: QTBUG-21568
Reviewed-by: Miikka Heikkinen
Diffstat (limited to 'qmake/meta.h')
0 files changed, 0 insertions, 0 deletions