← Back to team overview

touch-packages team mailing list archive

[Bug 1524234] [NEW] QML function trigger() with no argument doesn't override ActionItem.trigger

 

Public bug reported:

In QML it's only natural to declare

function trigger() { }

on an ActionItem (derived item) and expect it to override the trigger
slot.

This doesn't work - sometimes it works if the function is declared with
an argument, other times not at all.

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Critical
     Assignee: Zsombor Egri (zsombi)
         Status: Confirmed

-- 
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/1524234

Title:
  QML function trigger() with no argument doesn't override
  ActionItem.trigger

Status in ubuntu-ui-toolkit package in Ubuntu:
  Confirmed

Bug description:
  In QML it's only natural to declare

  function trigger() { }

  on an ActionItem (derived item) and expect it to override the trigger
  slot.

  This doesn't work - sometimes it works if the function is declared
  with an argument, other times not at all.

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


Follow ups