Canned queries don't work if they come from a scope that doesn't have a page in the dash
Bug #1329890 reported by
Paweł Stołowski
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu UX |
Fix Released
|
Undecided
|
Unassigned | ||
unity-scopes-shell |
Fix Released
|
High
|
Michal Hruby | ||
unity-scopes-shell (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
unity8 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If scope has a temporary page in the dash and returns a canned query to execute, then the query doesn't work and unity8 prints the following error:
Got scope URI "scope:
Scope instance 0xa6dfd5e8 doesn't have Scopes as a parent
Apparently the following cast fails in this case inside Scope::
scopes_ng::Scopes* scopes = qobject_
Related branches
lp:~mhr3/unity-scopes-shell/fix-1329890
- Pete Woods (community): Approve
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
-
Diff: 112 lines (+25/-7)2 files modifiedsrc/Unity/scope.cpp (+20/-7)
src/Unity/scope.h (+5/-0)
description: | updated |
Changed in unity-scopes-shell: | |
importance: | Undecided → High |
assignee: | nobody → Michal Hruby (mhr3) |
status: | New → Triaged |
tags: | added: scope-dev |
Changed in unity-scopes-shell: | |
status: | Triaged → In Progress |
Changed in unity-scopes-shell: | |
status: | In Progress → Fix Released |
Changed in ubuntu-ux: | |
status: | New → Fix Released |
no longer affects: | unity8 |
Changed in unity8 (Ubuntu): | |
status: | New → Fix Released |
To post a comment you must log in.
What's the desired UX supposed to be? If a temp dash page is opened from a temp dash page, should these be kept in a stack? What if temp dash page tries to perform a query on a temp dash page for scope that was already opened lower in the stack?