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

[Boot2Qt] Context menu actions not applying to previously modified text in Textarea

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.9.0 RC
    • Quick: Controls 2
    • None
    • Linux/Yocto

    Description

      MacOS 15.3.2

      Qt Creator 16.0.0

      RPi4 with Qt 6.9.0RC2

      Steps to reproduce:

      1. Open sample application with TextArea.
      2. Type some text into the textarea.
      3. Select a portion of the text.
      4. Right-click to open the context menu.
      5. Choose an action (e.g., Copy the selected text).
      6. Keep the text selected and right-click again to open the context menu.
      7. Choose another action (e.g., Delete or Cut).
      8. Observe that the action is not applied, and the selected text remains unchanged.

      Sample app:

      import QtQuick
      import QtQuick.ControlsWindow {
          width: 640
          height: 480
          visible: true
          title: qsTr("Hello World")
          TextArea {
              text: qsTr("TextArea\n...\n...\n...")
          }
      }
      

       

      Note: It's not reproducible on desktop (both macOS and Linux) and also does not happen with TextField.

       

       

      Attachments

        1. IMG_9856.mp4
          10.50 MB
          Łukasz Kosiorowski

        Issue Links

          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
              lkos Łukasz Kosiorowski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes