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

TextField keyboard input doesn't work on Popup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P1: Critical P1: Critical
    • None
    • 6.9.1
    • Quick: Controls 2
    • None
    • System:
      Linux Ubuntu 24.04.2
      windowManager: kwin_x11
      Qt: 6.9.1
    • Linux/X11

      TextFiled keyboard input doesn't work on Popup if popupType is Popup.Window or Popup.Native. If popupType is Popup.Item evereything 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 }
          }
      }
      

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            benhurr Rafal K
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes