Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt WebKit animation latency.
niffel last edited by
I've been working with some WebKit animations in Qt 4.7.4 embedded. The animations start in response to user input via Keydown events. All is working well for the most part while I am actively interacting with the page. However, if I let the page sit idle for a few minutes and then press a key, there is a considerable delay before the animations begin, sometimes up to 1 second. This only happens for the first animation after the page has been idle, all subsequent animations are fine until the page is left to sit idle again.
My suspicion is that some where in the lower layers there is some memory reclamation happening, the question is where? To be honest, I'm not sure where to even start looking.
I would imagine in most cases, apps should free up as much memory as possible if it appears the user has gone idle, but in my case, I really need to app to remain responsive even if that means more memory usage.
Can anyone point me in the right direction. I've been looking a the Pixmap stuff, but haven't found anything yet.