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

Read-only TextEdit does not emit onLinkActivated signal

    XMLWordPrintable

Details

    Description

      Read-only TextEdit does not emit onLinkActivated signal. Works ok for non-read-only case.

      import QtQuick 2.0
      
      Rectangle {
          width: 200
          height: 200
      
          TextEdit {
              anchors.centerIn: parent
              text: "Test <a href='http://foo.bar/'>link</a>"
              readOnly: true
              onLinkActivated: {
                  console.log(link + " clicked!")
              }
          }
      }
      

      Attachments

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

        Activity

          People

            denexter Andrew den Exter (closed Nokia identity) (Inactive)
            skananoj Sami Kananoja
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes