--
v3: win32u: Read window dpi_context from the shared memory.
win32u: Pass id and offset separately to find_shared_session_object.
server: Move window dpi_context to the shared memory.
server: Allocate shared memory objects for windows.
server: Fix shared object offset when additional blocks are allocated.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8061
Compositors send a "done" event after every text-input commit, even if
the reported state (preedit etc) hasn't changed. Acting on such events
is at best wasteful, but can additionally lead to incorrect IME related
effects (e.g., deleting the currently selected text), so ignore them,
similarly to what Qt and GTK do.
The first commit performs some state related cleanups.
--
This solves an IME problem I have been experiencing with compositors that support text-input-v3 (e.g., kwin).
1. Run notepad
2. Write some text
3. Try to select text
Expected result: text is selected
Actual result: text is deleted
What happens is that while the user is selecting text the driver gets a series of `SetIMECompositionRect` callback which cause a series of text-input-v3 `set_cursor_rectangle`-`commit` requests. These `commit`s elicit `done` events from the compositor with no state changes, which we interpret as "clear the composition string" (and by extension the active selection), because that's what such states normally means, and forward them to windows IME.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8196
--
v7: mshtml: Remove outdated FIXME comment.
mshtml: Try to guess the script encoding when there's no BOM.
mshtml/tests: Test mixed charset encodings for document and text resources.
https://gitlab.winehq.org/wine/wine/-/merge_requests/7360
On Tue Jun 3 05:45:11 2025 +0000, Rémi Bernon wrote:
> I think it's still worth implementing if it used by some applications,
> as it's not possible to use Windows Store apps/extensions in Wine?
Yeah you're right. And I guess we can simply skip any tests on Windows if the codec isn't installed.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8144#note_105295