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

Selectable QLabel does not copy to clipboard as QLineEdit does

XMLWordPrintable

    • WebAssembly
    • 1b24cfdac (dev), 910523718 (6.10)

      When selecting some text on a QLineEdit and then clicking on "copy" on the context menu, the text is copied to the system clipboard.

      Unfortunately this doesn't work the same way when using a QLabel (selectabled by mouse /  keyboard), the text is not copied to the system clipboard.

      The QLabel should be fixed to also copy to the system clipboard.

      You can reproduce the issue with the project attached.

       

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

            sorvig Morten Sørvig
            qtuser32 Random Guy
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes