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

Line edits not usable in web view under graphics view architecture

    XMLWordPrintable

Details

    Description

      verify bug
      =========
      We have been encountering an issue with the Graphics View architecture in Qtopia Home 4.4.0 and would like assistance with it. Qtopia Home 4.4.0 was configured with -platform when running the code.

      Here's a description of the problem:

      "I created a QGraphicsScene and added a QWebView to it using addWidget. Inside the QWebView, I then added a QLineEdit as an embedded object using object type application/x-qt-plugin. The line edit can be selected and a cursor appears to indicate that it is ready to accept text input. However, no keyboard events are received by the line edit so no text shows up. The keyboard events are received by the web viewer, but are not passed on to the line edit. The same code works fine if the graphics view architecture is not used.

      I also tried using a standard html form input text box as a line edit instead. In this case, no cursor appears at all when clicking in the text box. So no text can be entered since the text box can't even be selected. This also works fine if the graphics view architecture is not used."

      Is there anything that can be done to be able to use line edits in webkit when graphics view is used?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            andysh Andy Shaw
            isdale Keith Isdale (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes