Kodi Community Forum
v18 Can't change to next available subtitle while subtitle notification is showing - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: v18 Can't change to next available subtitle while subtitle notification is showing (/showthread.php?tid=336320)



Can't change to next available subtitle while subtitle notification is showing - tripkip - 2018-10-09

As title says. Anyone else experiencing this? Is this a known bug?


RE: Can't change to next available subtitle while subtitle notification is showing - Klojum - 2018-10-10

Exactly what do you mean by the Subtitle notification?


RE: Can't change to next available subtitle while subtitle notification is showing - tripkip - 2018-10-10

(2018-10-10, 08:21)Klojum Wrote: Exactly what do you mean by the Subtitle notification?
 The Kodi GUI dialog notification in upper right corner showing the language of the chosen subtitle.


RE: Can't change to next available subtitle while subtitle notification is showing - adun79 - 2018-10-11

I think the subs are changing, it's just the notification that doesn't reflect the change. IIRC it's because of this https://github.com/xbmc/xbmc/pull/13929


RE: Can't change to next available subtitle while subtitle notification is showing - tripkip - 2018-10-11

There is something wrong with the way notifications are handled. I belief it's managed by GUIDialogKaiToast.cpp?
I just did a quick test with a fresh Windows install and using a keymap to simply test several notifications being presented after eachother.

xml:

<keymap>
    <global>
        <keyboard>
            <F1>Notification(Testing,#1)</F1>
            <F2>Notification(Testing,#2)</F2>
            <F3>Notification(Testing,#3)</F3>
            <F4>Notification(Testing,#4)</F4>
            <F5>Notification(Testing,#5)</F5>
        </keyboard>
    </global>
</keymap>
keymap.xml file in <kodi>\userdata\keymaps

#issue1
When you press F1, F2, F3, F4, F5 after one another. It should queue up and show each notification.
In my experience it is showing 1 or 2, but not all.

#issue2
Queuing up notifications might be important not to miss out on information, but in the case of setting subtitles you need to see the current subtitle language immediataly, so the notification cannot be added to the back of the queue, but should cancel the queue of sub notifications and be presented at once.


RE: Can't change to next available subtitle while subtitle notification is showing - tripkip - 2018-10-11

Seems to work as expected when debug logging is on...
Issue created: https://github.com/xbmc/xbmc/issues/14583