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

TextArea focus is lost forever

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.0
    • None
    • Ubuntu 18.10, gcc 7.3, Qt 5.12
    • Linux/X11

    Description

      When TextArea is a child of ApplicationWindow with flag set to Qt.Popup, it is not possible to set focus neither by mouse clicking not by calling forceActiveFocus().

      I've attached a reproduction scenario for this. When the app is running click "Show another window" button and you'll get another window with TextArea component anchored to the center with focus lost forever. Nothing seems to help when trying to set focus and start typing there.

      The same component is placed on the first window and it's ok to set focus to it.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            qdmitry86 Dmitry Nikishov
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes