Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Brush shapes toolbar is empty in PC Paintbrush #1031

Closed
Anix-x opened this issue Oct 14, 2021 · 6 comments
Closed

The Brush shapes toolbar is empty in PC Paintbrush #1031

Anix-x opened this issue Oct 14, 2021 · 6 comments

Comments

@Anix-x
Copy link

Anix-x commented Oct 14, 2021

image
http://toastytech.com/guis/PC%20Paintbrush%20for%20Windows%201.05%20(3.5).zip

@cracyc
Copy link
Contributor

cracyc commented Oct 16, 2021

Works for me.
Capture

@Anix-x
Copy link
Author

Anix-x commented Oct 16, 2021

Checked again, still empty.

@cracyc
Copy link
Contributor

cracyc commented Oct 16, 2021

Need a trace for this too.

@Anix-x
Copy link
Author

Anix-x commented Oct 19, 2021

pbrush-trace.txt

@cracyc
Copy link
Contributor

cracyc commented Oct 19, 2021

For me each WM_CTLCOLORBTN message is followed by a WM_COMMAND that does the drawing.

2ca4:trace:msg:WINPROC_CallProc32ATo16 2051: (6B79D6B0, 00F808C8, WM_CTLCOLORBTN(0135), B3011B48, 001008A6)
2ca4:CallTo16(func=11ff:00e2,ds=127f,0053,0019,00b8,0003,0055) ss:sp=127f:7210 ax=127f bx=0006 cx=0000 dx=0000 si=0053 di=0000 bp=723a es=127f fs=0053
2ca4:RetFrom16() ss:sp=127f:7210  ax=0000 bx=0006 cx=0000 dx=0000 bp=723a sp=7210
2ca4:trace:msg:WINPROC_CallProc32ATo16 2051: (6B79D6B0, 00F808C8, WM_COMMAND(0111), 0001007B, 001008A6)
2ca4:CallTo16(func=11ff:00e2,ds=127f,0053,0111,007b,0001,0055) ss:sp=127f:7210 ax=127f bx=0006 cx=0000 dx=0000 si=0053 di=0000 bp=723a es=127f fs=0053
2ca4:Call USER.66: GETDC(0055) ret=1237:0123 ds=127f
2ca4:Ret  USER.66: GETDC() retval=000000bc ret=1237:0123 ds=127f
2ca4:Call GDI.87: GETSTOCKOBJECT(0004) ret=1237:0186 ds=127f
2ca4:Ret  GDI.87: GETSTOCKOBJECT() retval=00000060 ret=1237:0186 ds=127f
2ca4:Call GDI.45: SELECTOBJECT(00bc,0060) ret=1237:018c ds=127f
2ca4:Ret  GDI.45: SELECTOBJECT() retval=0000002c ret=1237:018c ds=127f
2ca4:Call USER.68: RELEASEDC(0055,00bc) ret=1237:0309 ds=127f
2ca4:Ret  USER.68: RELEASEDC() retval=00000001 ret=1237:0309 ds=127f
2ca4:RetFrom16() ss:sp=127f:7210  ax=0001 bx=0006 cx=0000 dx=0000 bp=723a sp=7210
2ca4:trace:msg:WINPROC_CallProc32ATo16 2051: (6B79D6B0, 00F808C8, WM_CTLCOLORBTN(0135), B3011B48, 00DA09A4)
2ca4:CallTo16(func=11ff:00e2,ds=127f,0053,0019,00b8,0003,0056) ss:sp=127f:7210 ax=127f bx=0006 cx=0000 dx=0000 si=0053 di=0000 bp=723a es=127f fs=0053
2ca4:RetFrom16() ss:sp=127f:7210  ax=0000 bx=0006 cx=0000 dx=0000 bp=723a sp=7210

While yours it doesn't.

0aec:0c7c:trace:msg:WINPROC_CallProc32ATo16 2051: (73CBD6B0, 000E081A, WM_CTLCOLORBTN(0135), 1C011368, 000E0812)
0c7c:CallTo16(func=11ff:00e2,ds=127f,0053,0019,0038,0003,0055) ss:sp=127f:7210 ax=127f bx=0006 cx=0000 dx=0000 si=0053 di=0000 bp=723a es=127f fs=0053
0c7c:RetFrom16() ss:sp=127f:7210  ax=0000 bx=0006 cx=0000 dx=0000 bp=723a sp=7210
0aec:0c7c:trace:msg:WINPROC_CallProc32ATo16 2051: (73CBD6B0, 000E081A, WM_CTLCOLORBTN(0135), 1C011368, 003B08D4)
0c7c:CallTo16(func=11ff:00e2,ds=127f,0053,0019,0038,0003,0056) ss:sp=127f:7210 ax=127f bx=0006 cx=0000 dx=0000 si=0053 di=0000 bp=723a es=127f fs=0053
0c7c:RetFrom16() ss:sp=127f:7210  ax=0000 bx=0006 cx=0000 dx=0000 bp=723a sp=7210

I can repo it in Windows 10 by enabling aero in otvdm.ini. If you have aero disabled then there's a bug in compatibility mode on Windows 11.

@Anixx
Copy link

Anixx commented Oct 19, 2021

Yes, DisableAero key causes this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants