Re: Is ScAreaLink::RefreshHdl run too often?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 30.06.21 um 14:29 schrieb Stephan Bergmann:
On 29/06/2021 18:51, Noel Grandin wrote:
I have seen the same problem in another application I maintain.

My solution is that the repeat-delay time specified in my timers is always the time between the end of one invocation of a timer, and the start of the next invocation of that timer.

Yes, but I fail to understand how that ScAreaLink -> ScRefreshTimer -> AutoTimer -> Timer -> Task inheritance chain schedules invocation.


Timer:: / Task::SetDeletionFlags()

It deactivates the Task before processing it. For Auto* that is skipped,
so the task remains active, its ImplSchedulerData::mnUpdateTime is updated and it will be re-scheduled.

HTH
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux