Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-7669

TextInput and TextEdit don't seem to be working from time to time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 4.7.0
    • 3.x
    • None
    • Qt kinetix-delcarativeui from git (26.1.2010)
      Kbuntu 9.10
    • 5f11d2125b9cc37768fb8174870ced5934cdacf2

      I am using a TextInput inside a LisView delegate, that is supposed to make the data editable. Instead not even a TextInput (or TextEdit) that is not bound to anything allows input or modification of its contents.
      Also, it seems that if you press the tab key, something goes wrong and a previously usable TextInput can never be used again.

      All this happens when I use QML via a QmlView in my existing app. With the qmlviewer (in the bin directory) these things don't seem to happen... So when I looked at its source I found this:
      contx->setContextProperty("qmlViewer", this);
      Without that TextInputs don't work at all.

        1. qml_input.png
          48 kB
          Florian Staudacher
        2. TextInput.qml
          1 kB
          Florian Staudacher
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            aalpert-nokia Alan Alpert (closed Nokia identity) (Inactive)
            raven24 Florian Staudacher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes