global_search is called without query string
Bug #999843 reported by
Leopard2A5
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
singlet |
New
|
Undecided
|
Unassigned |
Bug Description
When searching in the global dash (not with the lens selected) the lens daemon's global_search method is called without/with an empty query string.
I've attached the whole project, you might need pidgin installed and running to debug it, but maybe you don't
P.S.: See project directory/
To post a comment you must log in.
The problem is that in /usr/share/ pyshared/ singlet/ lens/base. py in the initializer of class Lens the self._lens. props.search_ in_global property is set to False. Hacking around this problem is simple, just override the __init__() method:
class MyLens( SingleScopeLens ):
SingleScopeLen s.__init_ _(self)
self._ lens.props. search_ in_global = True
def __init__(self):
To properly solve this, the property should probably be exposed to child classes.