notepad-plus-plus-legacy/PowerEditor
Udo Hoffmann 80c8ee59c9
Fix current range of the Document Map sticking on mouse pointer after resizing Document Map window issue
Fix Mouse remains in clicked state after resizing docked windows:

The reason for the effect is the mouse hook procedure, which seems to be quite obsolete in contemporary systems: it catches the mouse messages and posts them a second time to the same window. I assume, that was ment to speed up the shifting of the splitters on "prehistoric systems" (That's what you call every system not supporting transparent windows). I see no regression without this hook.

What happens is, the hook catches the WM_LBUTTONUP message and posts it to DockingSplitter::runProc. Here, the hook is released and ReleaseCapture() is called. All fine.

But Windows fails to update its internal key state, when the WM_LBUTTONUP comes as an posted-by-a-hook message. So, if you call GetKeyState(VK_LBUTTON) after ReleaseCapture() in the original code, then it is still in a pressed state. Which confuses the Document Map later.

Fix #8285, close #8286
2020-05-19 16:36:40 +02:00
..
bin Notepad++ 7.8.6 release 2020-04-21 18:14:58 +02:00
gcc Add external sound control capability for unsuccessful search bell 2020-02-17 03:37:18 +01:00
installer Add a new theme in installer 2020-05-14 01:06:14 +02:00
misc/chameleon Remove the old icon 2016-09-21 09:06:22 +02:00
scintilla.original.forUpdating Upgrade Scintilla from 4.1.4 to 4.2.0 2019-07-22 13:08:41 +02:00
src Fix current range of the Document Map sticking on mouse pointer after resizing Document Map window issue 2020-05-19 16:36:40 +02:00
Test/FunctionList Remove BOM from 2 localization files 2019-03-15 03:13:31 +01:00
visual.net Fix "Monitoring" not detecting all file changes issue 2020-02-25 22:16:57 +01:00