The firing of idles in Writer is not predictable. That's OK for the usual use cases, but in some environments, it is desirable to behave predictably. Let's introduce some determinism to the scheduler (guarded by an env. variable) that allows LibreOffice to be better controlled by ProcessEventsToIdle.
Kendy, code pointers or are you going to tackle it?
Stuart: Sorry; indeed I'm on this.
Jan Holesovsky committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=3f98cf32836eb10af7fc673b1fe61421fcb98d3b tdf#100092: Deterministic scheduling to prevent unpredictable behavior. It will be available in 5.3.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Jan Holesovsky committed a patch related to this issue. It has been pushed to "libreoffice-5-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=5acdf13b21e52e3c26657d063a9b327006bc5494&h=libreoffice-5-2 tdf#100092: Deterministic scheduling to prevent unpredictable behavior. It will be available in 5.2.0.1. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Jan Holesovsky committed a patch related to this issue. It has been pushed to "libreoffice-5-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=75cfd5e81d5ba04df55053b4f52d285328fd708e&h=libreoffice-5-1 tdf#100092: Deterministic scheduling to prevent unpredictable behavior. It will be available in 5.1.4. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Thanks Kendy; nice work =)