← Back to team overview

touch-packages team mailing list archive

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

 

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Importance: Undecided => High

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, 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:
  Triaged
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-ui-toolkit/+bug/1205914/+subscriptions