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

TextField keyboard input doesn't work on Popup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 6.9.1
    • Quick: Controls 2
    • None
    • System:
      Linux Ubuntu 24.04.2
      windowManager: kwin_x11
      Qt: 6.9.1
    • Linux/X11

    Description

      TextFiled keyboard input doesn't work on Popup if popupType is Popup.Window or Popup.Native . If poputType is Popup.Item evereythink works ok. 

       

       

      Bug reproduction code:

       

      import QtQuick
      import QtQuick.Controls

      Window {
          id: root
          x: 200
          y: 200
          width: 450
          height: 700
          visible: true
          color: "green"

          Popup{
              width: 100
              height: 300
              visible: true

              //popupType: Popup.Item // textField keyboard input OK
              //popupType: Popup.Native // textField keyboard input doesn't work
              popupType: Popup.Window // textField keyboard input doesn't work

              background: Rectangle

      {             color: "red"         }

              contentItem: TextField

      {             id: textField         }

          }
      }

       

      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
            benhurr Rafal K
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes