Kodi Community Forum

Full Version: Can't change to next available subtitle while subtitle notification is showing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
As title says. Anyone else experiencing this? Is this a known bug?
Exactly what do you mean by the Subtitle notification?
(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.
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
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.
Seems to work as expected when debug logging is on...
Issue created: https://github.com/xbmc/xbmc/issues/14583