2020-08-25, 15:17
Hi,
I am developing addon and recently I added support for Kodi 16,17,18,19 and I have one issue in Kodi 19 that I cannot solve.
All items that are added with method
do nothing. It is only version where it is not working. I also cannot find anything particular in logs.
I tried other Kodi 19 compatible addon if context menu works there and it worked fine. So I am wondering what can be wrong? Is there some property that needs to be set in order to make custom menu items work? I tried to add random items with any builtin action and nothing was happening. There is no difference between closing dialog by going back or clicking some action in in.
I am developing addon and recently I added support for Kodi 16,17,18,19 and I have one issue in Kodi 19 that I cannot solve.
All items that are added with method
xml:def addContextMenuItems(self, items, replaceItems=False):
do nothing. It is only version where it is not working. I also cannot find anything particular in logs.
Quote:2020-08-25 15:07:18.032 T:54404 DEBUG <general>: ------ Window Init (DialogContextMenu.xml) ------Sometimes this WARNING appears:
2020-08-25 15:07:18.739 T:54404 DEBUG <general>: CInputManager:rocessMouse: trying mouse action leftclick
2020-08-25 15:07:18.983 T:54404 DEBUG <general>: ------ Window Deinit (DialogContextMenu.xml) ------
Quote:2020-08-25 15:00:48.868 T:54404 WARNING <general>: CGUIWindowManager - CGUIWindowManager::HandleAction - ignoring action 107, because topmost modal dialog closing animation is runningbut thats all.
I tried other Kodi 19 compatible addon if context menu works there and it worked fine. So I am wondering what can be wrong? Is there some property that needs to be set in order to make custom menu items work? I tried to add random items with any builtin action and nothing was happening. There is no difference between closing dialog by going back or clicking some action in in.