Details
-
Bug
-
Resolution: Unresolved
-
Trivial
-
None
-
None
Description
reactos-bootcd-0.4.15-dev-7434-g8b5c5fb-x86-gcc-lin-dbg
While investigating on CORE-19423
- Type "d dd" in Start > Run
- Double click on the "dd" part with mouse cursor on the right of the text not to fall into
CORE-19423 - " dd" gets selected (<BLANK>dd)
- Expected result "dd" to get selected (no "<BLANK>")
- notepad is not affected
Problem comes from EDIT_CallWordBreakProc :
- with EDIT_WordBreakProc (notepad). Good code in EDIT_WordBreakProc, as it returns "2" for "d dd" in https://git.reactos.org/?p=reactos.git;a=blob;f=dll/win32/comctl32/edit.c;hb=cbc3ee2287c1972ac8257da60388a5de9ea6c0e5#l238
- with es->word_break_proc (Start > run). Guilty is then EditWordBreakProcW, as it returns "1" for "d dd" in dll/win32/browseui/CAutoComplete.cpp
Similarly testing with
<BLANK>TEST<BLANK><BLANK><BLANK>REACTOS
should select "TEST<BLANK><BLANK><BLANK>"
See : ROS-screen0.webm
Guilty code is https://github.com/reactos/reactos/commit/c19d9df2593d6376f783dae78ba67fe53280fa4a from katayama_hirofumi_mz
Fixed by patch : browseUI_dblclick-1.patch
Attachments
Issue Links
- relates to
-
CORE-19422 comctl32 / ComboEx - Wrong initial selection on first focus
- Resolved
-
CORE-19427 Notepad : Smarter bahavior when double click on a word
- Resolved