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

Missing context menu for text fields

XMLWordPrintable

      In most Windows and Mac apps, right-clicking any text field shows a popup menu to Undo, Cut, Copy, Paste, etc. This behavior is built into the standard text control in the Win32 and AppKit frameworks and is seen everywhere.

      In Qt, the Quick.Controls TextField handles keyboard shortcuts such as Ctrl-C, Ctrl-V, but it does not respond to right-click. I know it is not difficult to add a popup menu, but this should happen by default. The right-click user interface is important for novice users who are not aware of keyboard shortcuts. 

      To reproduce this problem, use the TextField in QML with selectByMouse:true

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

            mitch_curtis Mitch Curtis
            rss Richard Stephens
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes