Kodi Community Forum
v19 Please fix smartredraw in Matrix - 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: v19 Please fix smartredraw in Matrix (/showthread.php?tid=359240)



Please fix smartredraw in Matrix - HeresJohnny - 2020-12-20

<gui>
<smartredraw>true</smartredraw>
</gui>

is a great feature and can save resources on some low power devices. However, in certain situations artefacts can be left permanently onscreen whichdisctract from the viewing experience and certain elements are not updated on the screen properly. I'm sure the devs are aware of this and it woulb be nice to have it fixed in time for Matrix final.

Not updating properly: Add-ons that use foreground windows with progress bars (Watchedlist is the add-on with the longest dialogue time); the volume circle thingy.
Artefacts left on screen: Mostly error messages in (upper right-hand) pop-ups from core or add-on that are supposed to vanish after a few seconds.

I guess both kinds of errors could have to do with the time an element stays onscreen. If a certain time is exceeded, smartredraw probably considers the element fixed and will not remove it. Maybe this can be solved programmatically by using a (much?) longer time threshold? The 2nd kind of error might be avoided if those pop-ups were issued not only with a time to display onscreen but a refresh screen at the end.

Of course, these are only layman's descriptions and I have no knowledge of programming. These problems exist indepently of the platform used, I experience them both in Windows and CoreELEC. Thanks in advance for looking into it!


RE: Please fix smartredraw in Matrix - Jogee - 2020-12-20

You did not mention which version of Kodi you were testing this on.  Did you test on 19 Beta 2, or one of the latest nightlies?

I'm sure you know this is an experimental feature introduced in v18.


RE: Please fix smartredraw in Matrix - smf007 - 2021-02-01

I just stumbled across this very issue with v18.  SmartRedraw doesn't work for toast notifications, instead the notification results in a portion of the screen not updating and not knowing to update.  If you look at a log, you can see that "Windows Deinit (DialogNotification.xml)" is never called.

Edit :: Turns out there is an open Issue #15354