The Wayland specification states about the keyboard leave event:
After this event client must assume that all keys, including
modifiers, are lifted and also it must stop key repeating if
there's some going on.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56001
---
To replicate a manifestation of the problem:
1. Open notepad
2. Hold down a key, wait for repetition to begin
3. While keeping key pressed, change focus to some other window (e.g. click away)
4. Key keeps repeating in notepad forever (lifting the key has no effect now, since the keyboard focus has been lost)
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/4679
Recap:
My previous proposals to extend the shader_runner to SM1 were focusing on separating compilation tests ([shader] directives) from execution tests ([test] directives), and let the generic shader_runner.c:compile_shader() in charge of the former.
However, Henri was more inclined to aim for making the parser agnostic to the language of the tests so we can potentially extend the shader_runner tests to other languages such as d3d-asm. This means, removing the burden of compilation from the parser altogether, and moving it to the runners, probably through a runner->compile function pointer (even if most of them end up doing the same thing, compiling with vkd3d-shader or the native compiler, depending on availability).
Agreeing with going in this general direction, this MR contains patches to do SM1 compilation calling run_shader_tests() for SM1 profiles from the Vulkan runner (skipping execution for now), and some improvements to the qualifiers syntax.
Despite this, there are a parallel discussion on:
- Whether to name the shader models individually in the [require] directives or expressing the range of shader models where the test should pass. In the latter case, whether to run for all shader models, only the lowest one in the SM1, SM4, and SM6 groups, or to allow the runner to select a shader model within the range (I feel strongly against this now, I think the runner should just retrieve a boolean in runner->check_requirements).
- Where to do the iteration across different shader models, if in run_shader_tests() or expect each runner to call run_shader_tests() several times as we do now.
But there is no need to settle on something yet.
---
Now, what may be the most noisy part of this MR is that even though we are calling run_shader_tests() through the Vulkan runner, this will result in calling shader_runner.c:compile_shader() instead of shader_runner_vulkan.c:compile_shader(), but if we follow the "making the parser agnostic" plan, we eventually should get rid of shader_runner.c:compile_shader() and introduce the runner->compile pointer instead.
--
https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/514
On Tue Dec 12 00:19:53 2023 +0000, Nikolay Sivov wrote:
> No, sorry for confusion. Uninitialized access issue seems to be about
> that one record. It is documented in EMF+ specification.
According to the spec a previous location of 0 is assumed. For me, this implies that the first element should not always be `0`, but be `0 + points[0]`
IMHO, EmfPlusRecordTypeDrawImagePoints look correct and this wrong.
A test could clear this up, but I'm not exactly sure on how to write one. Any tips?
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/4666#note_55782