On Mon Aug 22 05:42:07 2022 +0000, Davide Beatrici wrote:
> I replaced `button[2].iBitmap = HIST_UP` with `button[2].iBitmap =
> HIST_VIEWTREE + 1`, this is the result:
> ![](/uploads/6af132b1ea3c302eaeb1cc5a67945b12/image.png)
Is that running on your machine? I'm testing in a Docker container.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/672#note_6657
Split from https://gitlab.winehq.org/wine/wine/-/merge_requests/576, for which I'll then add modes sorting, and move support for stretched / interlaced modes from winemac to win32u.
--
v3: win32u: Only read/write valid mode fields from/to the registry.
win32u: Use current mode position if desired mode doesn't specify it.
win32u: Always copy devmode in validate_display_settings.
win32u: Read registry or current mode when validation needs it.
win32u: Do not keep display modes driver extra in the registry.
https://gitlab.winehq.org/wine/wine/-/merge_requests/665
On Sun Aug 21 23:11:44 2022 +0000, Ben Cottrell wrote:
> After making the changes, the icons for explorer and the common item
> dialog are missing, possibly due to out of bounds memory reads, but I
> don't know the cause, especially as adding trace+comctl32 to the
> WINEDEBUG environment variable doesn't produce useful messages.
> ![Screenshot_from_2022-08-22_11-04-57](/uploads/6c51e3d86403fd52a71e765cfecd075d/Screenshot_from_2022-08-22_11-04-57.png)
> ![Screenshot_from_2022-08-22_11-05-28](/uploads/4682a15c445f2d78b5a9b5b2c4c90e75/Screenshot_from_2022-08-22_11-05-28.png)
I replaced `button[2].iBitmap = HIST_UP` with `button[2].iBitmap = HIST_VIEWTREE + 1`, this is the result:
![](/uploads/6af132b1ea3c302eaeb1cc5a67945b12/image.png)
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/672#note_6644
On Sun Aug 21 21:20:05 2022 +0000, Ben Cottrell wrote:
> OK, I'll remove the define and change the position of the image, so that
> it's HIST_VIEWTREE + 1 in my next commit. I'm sorry for making a basic error.
After making the changes, the icons for explorer and the common item dialog are missing, possibly due to out of bounds memory reads, but I don't know the cause, especially as adding trace+comctl32 to the WINEDEBUG environment variable doesn't produce useful messages.
![Screenshot_from_2022-08-22_11-04-57](/uploads/6c51e3d86403fd52a71e765cfecd075d/Screenshot_from_2022-08-22_11-04-57.png)
![Screenshot_from_2022-08-22_11-05-28](/uploads/4682a15c445f2d78b5a9b5b2c4c90e75/Screenshot_from_2022-08-22_11-05-28.png)
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/672#note_6639
On Sun Aug 21 19:31:58 2022 +0000, Alexandre Julliard wrote:
> These are Windows API defines, you can't change them.
OK, I'll remove the define and change the position of the image, so that it's HIST_VIEWTREE + 1 in my next commit. I'm sorry for making a basic error.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/672#note_6637