diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-06-13 10:06:04 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-06-13 14:17:48 +0200 |
commit | 66bfaa01486891627b0748c4ba7b8d86e0fdc439 (patch) | |
tree | 3260d5758dcba1bb8f566cc398fa501fec3d4f64 /i18npool/README | |
parent | 2a041b97b6452aebb695d564ceb5925c1d525ee0 (diff) |
tdf#95173 vcl: fix not drawn progressbar widget from UNO
Commit e6c2951f1957224aa0e7dc97b33b0450c41f92f7 (delegate RenderContext,
invalidate - prgsbar, scrbar, 2015-04-29) switched ProgressBar::SetValue() from
direct partial paint to invalidate + paint later, which means setting a
progressbar value, then using an external sleep (such as Python's time.sleep())
no longer results in an updated progressbar.
Solve the problem by explicitly processing all events with at least
TaskPriority::REPAINT priority after the invalidate in ProgressBar::SetValue(),
which is similar to what the Wait implementation in the basic runtime does.
(cherry picked from commit f7157f04fab298423e2c4f6a7e5f8e361164b15f)
Change-Id: I86475fb899f16b72ebefe9d3056c92cedeff4439
Reviewed-on: https://gerrit.libreoffice.org/73952
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'i18npool/README')
0 files changed, 0 insertions, 0 deletions