Skip to content

Fix a few MessageListPage text input issues

Martin Kozub requested to merge fix-message-list-text-input into master

This merge requests unfortunately reverts from QtQuick TextArea to UITK TextArea though leading to the following fixes:

  1. Support for clipboard copy/paste and text selection.
  2. Support for displayText property to display submit message button even when the content is not committed yet. Maybe this could be used instead though: http://doc.qt.io/qt-5/qml-qtquick-controls-textfield.html#displayText-prop but that is only a single-line element and we would still have no clipboard support unless someone figures it out. Sadly no other Qt elements I've bumped into come with a displayText property. Here is how UITK does it: https://github.com/ubports/ubuntu-ui-toolkit/blob/eb36fcaad14e28b9e73fe4f4d5c73fbe81922855/src/imports/Components/1.2/TextArea.qml#L837 but it didn't help me much albeit I gave it a try.
  3. Working multiline text-input hopefully and accidentally fixing this: https://gitlab.com/Flohack74/tg-plus/issues/8
Edited by Martin Kozub

Merge request reports