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

QTextEdit::onLinkActivated does not work on Android & iOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.2.1
    • None
    • Mac OS X with Qt 5.2.1 installed
    • iOS/tvOS/watchOS

    Description

      Hello,

      I noted that while using the TextEdit QML component, you cannot open links (using the onLinkActivated function) in iOS and Android.

      QML code:

      TextEdit {
          clip: true
          id: textbox
          readOnly: true
          anchors.fill: parent
          textFormat: TextEdit.RichText
          renderType: Text.NativeRendering
          onLinkActivated: console.log("Link activated")
          focus: true
      }
      
      

      As you may think, when the link is activated, nothing happens. I have tested the issue in iOS device, Android device and iOS simulator.

      Attachments

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

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            alex-97 Alex Spataru
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes