Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
f87ad783
Commit
f87ad783
authored
Oct 10, 2022
by
Akihiro Sagawa
Committed by
Alexandre Julliard
Oct 12, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
imm32/tests: Don't expect IME window if the parent is message-only window descendant.
It has apparently changed in Win10 21H1+. Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=53521
parent
6c55010e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
imm32.c
dlls/imm32/tests/imm32.c
+7
-2
No files found.
dlls/imm32/tests/imm32.c
View file @
f87ad783
...
@@ -1412,24 +1412,29 @@ static DWORD WINAPI test_default_ime_with_message_only_window_cb(void *arg)
...
@@ -1412,24 +1412,29 @@ static DWORD WINAPI test_default_ime_with_message_only_window_cb(void *arg)
{
{
HWND
hwnd1
,
hwnd2
,
default_ime_wnd
;
HWND
hwnd1
,
hwnd2
,
default_ime_wnd
;
/* Message-only window doesn't create associated IME window. */
test_phase
=
PHASE_UNKNOWN
;
test_phase
=
PHASE_UNKNOWN
;
hwnd1
=
CreateWindowA
(
wndcls
,
"Wine imm32.dll test"
,
hwnd1
=
CreateWindowA
(
wndcls
,
"Wine imm32.dll test"
,
WS_OVERLAPPEDWINDOW
,
WS_OVERLAPPEDWINDOW
,
CW_USEDEFAULT
,
CW_USEDEFAULT
,
CW_USEDEFAULT
,
CW_USEDEFAULT
,
240
,
120
,
HWND_MESSAGE
,
NULL
,
GetModuleHandleW
(
NULL
),
NULL
);
240
,
120
,
HWND_MESSAGE
,
NULL
,
GetModuleHandleW
(
NULL
),
NULL
);
default_ime_wnd
=
ImmGetDefaultIMEWnd
(
hwnd1
);
default_ime_wnd
=
ImmGetDefaultIMEWnd
(
hwnd1
);
ok
(
!
IsWindow
(
default_ime_wnd
)
,
"Expected no IME windows, got %p
\n
"
,
default_ime_wnd
);
ok
(
!
default_ime_wnd
,
"Expected no IME windows, got %p
\n
"
,
default_ime_wnd
);
/* Setting message-only window as owner at creation,
doesn't create associated IME window. */
hwnd2
=
CreateWindowA
(
wndcls
,
"Wine imm32.dll test"
,
hwnd2
=
CreateWindowA
(
wndcls
,
"Wine imm32.dll test"
,
WS_OVERLAPPEDWINDOW
,
WS_OVERLAPPEDWINDOW
,
CW_USEDEFAULT
,
CW_USEDEFAULT
,
CW_USEDEFAULT
,
CW_USEDEFAULT
,
240
,
120
,
hwnd1
,
NULL
,
GetModuleHandleW
(
NULL
),
NULL
);
240
,
120
,
hwnd1
,
NULL
,
GetModuleHandleW
(
NULL
),
NULL
);
default_ime_wnd
=
ImmGetDefaultIMEWnd
(
hwnd2
);
default_ime_wnd
=
ImmGetDefaultIMEWnd
(
hwnd2
);
ok
(
IsWindow
(
default_ime_wnd
),
"Expected IME window existence
\n
"
);
todo_wine
ok
(
!
default_ime_wnd
||
broken
(
IsWindow
(
default_ime_wnd
)),
"Expected no IME windows, got %p
\n
"
,
default_ime_wnd
);
DestroyWindow
(
hwnd2
);
DestroyWindow
(
hwnd2
);
DestroyWindow
(
hwnd1
);
DestroyWindow
(
hwnd1
);
/* Making window message-only after creation,
doesn't disassociate IME window. */
hwnd1
=
CreateWindowA
(
wndcls
,
"Wine imm32.dll test"
,
hwnd1
=
CreateWindowA
(
wndcls
,
"Wine imm32.dll test"
,
WS_OVERLAPPEDWINDOW
,
WS_OVERLAPPEDWINDOW
,
CW_USEDEFAULT
,
CW_USEDEFAULT
,
CW_USEDEFAULT
,
CW_USEDEFAULT
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment