summaryrefslogtreecommitdiff
path: root/.git-hooks
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-01-22 02:03:13 +0600
committerMike Kaganski <mike.kaganski@collabora.com>2024-01-22 04:06:00 +0100
commitd49b0c3654e50ff9b74545140e6f19e008009c33 (patch)
tree52aab9e8b9ca8c7845e7f8b6215d8c63cd11798b /.git-hooks
parent638f9bd2c6413588d7bcf3aac1b56bff03d20bb0 (diff)
tdf#158139: show autotext / word completion tooltips also for delayed flush
The problem was that commit 843af72bcc9047867588e29c8e10b84a5e58d70e (make win32 variant AnyInput() not deliver events (tdf#140293), 2021-02-11) made AnyInput ~always return true, when called in SwEditWin::KeyInput. Calling AnyInput(KEYBOARD) there is to query if there are more pending characters. But in its new form on Windows, it tells if there are any keyboard-related window events in the queue, where e.g. WM_KEYUP counts, which is for the same keypress (WM_KEYDOWN) that is being handled right now - even though those messages will not produce new characters. When AnyInput() returns true, a delayed flush timer starts. Only immediate flush was accompanied by tooltips. To make sure that the tooltip is shown also for delayed flush, move the tooltip code into SwEditWin::FlushInBuffer. Store the 'bNormalChar' flag (which controlled if the tooltip was shown) in a new member in SwEditWin. Change-Id: I51686b25f8d86df48ae9574ab8f3eb1d0e6ca985 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162350 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to '.git-hooks')
0 files changed, 0 insertions, 0 deletions