2015-01-18, 12:01
I'm not sure if this is a bug or the intended behaviour.
Description
According to the docs it's possible to set the display time for notifications. This works ok for single notifications.
However, if I want to queue and display multiple notifications, the time setting seems to be ignored.
Example
The code below should demonstrate the issue.
The first notification displays and honours the time parameter. However, the next 5 notifications only honour the time parameter for the final notification.
Status on trac
It seems similar to, but not identical, to issue #10141.
My system
Ubuntu 14.04
Kodi (14.0 Git:ad747d9). Platform: Linux x86 64-bit
Using Release Kodi x64 build
If this is a new bug I'm happy to post on trac.
Description
According to the docs it's possible to set the display time for notifications. This works ok for single notifications.
However, if I want to queue and display multiple notifications, the time setting seems to be ignored.
Example
The code below should demonstrate the issue.
Code:
import xbmc, xbmcgui
notify = xbmcgui.Dialog().notification
notify("3 Seconds", "This should display for 3 seconds", time=3000)
xbmc.sleep(5000)
for i in range(1,6):
notify("{} second".format(i),
"This should display for {} seconds".format(i),
time=(i*1000))
Status on trac
It seems similar to, but not identical, to issue #10141.
My system
Ubuntu 14.04
Kodi (14.0 Git:ad747d9). Platform: Linux x86 64-bit
Using Release Kodi x64 build
If this is a new bug I'm happy to post on trac.