Shell Search api error: GetInitialResultSet doesn't return anything



Hi,

As of now shell-search dbus method GetInitialResultSet doesn't return anything, it used to return array of all event uids (gnome-calendar <= 3.20). You can check it with d-feet.


Calendar Version:   Status
-----------------   --------------

3.24.0   Works!


3.24.1   Doesn't Work


3.24.2   Doesn't Work


Git/Master   Doesn't Work 





Example Python Code:
---------------------

#!/usr/bin/python3
import dbus 

SERVICE_NAME = "org.gnome.Calendar" 
OBJECT_NAME = "/org/gnome/Calendar/SearchProvider" 
IFACE_NAME = "org.gnome.Shell.SearchProvider2"

sbus = dbus.SessionBus()
obj = sbus.get_object(SERVICE_NAME, OBJECT_NAME)
interface = dbus.Interface(obj, IFACE_NAME)

event_uids = interface.GetInitialResultSet([""])
print (event_uids)



Can anyone look into the issue?

Thanks

Edit: Related bug: https://bugzilla.gnome.org/show_bug.cgi?id=783539


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]