Activate should default to "Not Handled"

Bug #1552078 reported by Brian Douglass on 2016-03-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-js-scopes
Medium
Alexandre Abreu

Bug Description

Currently if you set a result to be "set_intercept_activation" with a uri, it will fail to act on the result when clicked. The logs will complain about a nullptr (which I believe is a reference to this: http://bazaar.launchpad.net/~webapps/unity-js-scopes/trunk/view/head:/src/bindings/src/scope-base.cc#L148 ). To get around this I've added an activate method that will return an activation response with "scopes.defs.ActivationResponseStatus.NotHandled", then the uri is opened. According to my experience with Go scopes and the scope api docs (https://developer.ubuntu.com/api/scopes/cpp/sdk-15.04.1/unity.scopes.ScopeBase/) the NotHandeled response should already be the default.

Related branches

summary: - Activate should default to "Not Handeled"
+ Activate should default to "Not Handled"
Changed in unity-js-scopes:
assignee: nobody → Alexandre Abreu (abreu-alexandre)
Changed in unity-js-scopes:
status: New → Confirmed
importance: Undecided → Medium
status: Confirmed → In Progress
Changed in unity-js-scopes:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers