← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1205914] Re: Label's onLinkActivated handler not called in Popover or Dialog

 

** No longer affects: ubuntu-ui-toolkit

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1205914

Title:
  Label's onLinkActivated handler not called in Popover or Dialog

Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Triaged

Bug description:
  If a label with html formatted links is placed within a popover or
  dialog, clicking the links does not trigger onLinkActivated.

  Expected behavior:  Clicking link should call onLinkActivated handler.

  Consider the following fragment:

  Popover {
          Label {
                  anchors.fill:parent
                  text: "Text with <a href=\"http://...\";>html link</a>"
                  onLinkActivated: {
                      console.log(link + " link activated")
                      Qt.openUrlExternally(link)
                  }
          }
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1205914/+subscriptions