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

Open Watcom 1.9 build for Windows NT 3.50 has window sizing issues #407

Open
davidrg opened this issue Nov 6, 2024 · 1 comment
Open
Labels

Comments

@davidrg
Copy link
Owner

davidrg commented Nov 6, 2024

The standard build for NT 3.50 produced with Open Watcom 1.9 has broken window sizing. The window starts out tiny, like this:
nt350-issue-a

When attempting to resize it vertically, any slight increase in size causes the vertical size to jump to 127 lines (See the tool tip over the title bar)
nt350-issue-b

This issue occurs even when the binaries are run on Windows 11:
image

Builds produced with Visual C++ 2.0 do not have this issue - it is specific to Open Watcom 1.9. And the standard Open Watcom 1.9 build for Windows NT 3.51 and newer also does not have this issue.

I'm sure the NT 3.50 OW 1.9 build used to work fine, so possibly this bug was introduced with the recent toolbar show/hide changes. The custom window sizing code for Windows NT 3.50 is in general not great so maybe some bug in there is being triggered.

At the moment the release builds are generally done with Visual C++ 2.0 so its not a major problem that this is broken, but it may indicate a general bug that just isn't so obvious in the Visual C++ builds.

@davidrg davidrg added the bug label Nov 6, 2024
@jmalak
Copy link
Contributor

jmalak commented Nov 8, 2024

The issue could be related to WIN32 header files, because Open Watcom support Windows NT 4.0 and above no older.
Anyway C run-time library fully support Win32s and Windows NT from version 3 and Windows 9x, only headers are for NT 4.0/Windows 9x and above.
If any structure specific for NT 3 is used then it could cause this issue and will need to fix OW headers.
Also it requires to use appropriate version of Windows run-time subsystem.
Try to add following linker directive runtime windows=3.10

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

No branches or pull requests

2 participants