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

Window frame displays incorrectly with BasicThemer2 or "disable composition" compatibility option enabled #1190

Closed
OrthodoxWindows opened this issue Aug 26, 2022 · 5 comments

Comments

@OrthodoxWindows
Copy link

OrthodoxWindows commented Aug 26, 2022

Window frame displays incorrectly with BasicThemer2 or "disable composition" compatibility option enabled.
Specifically, the window displays in a white frame, with a tear when moved. I posted the problem in BaiscThemer2, and the developer (@Ingan121), replied that the problem was with Winevdm. Here is the detail of the problem : Ingan121/BasicThemer2#19
However, the dialog boxes are displayed correctly.

Here are some screenshots of the issue (with Aerolite visual style):

otvdmw_PZT6PRy4Ys
178160700-87522082-ef22-4ccf-bbf1-99ba7722f4d6
178160713-49dbcba2-e5fb-4b33-89a6-038ae4396a75

  • OS: [e.g. Windows 10 21H2]
    This appears including in the latest version of Winevdm.
@OrthodoxWindows OrthodoxWindows changed the title Window frame displays incorrectly with BasicThemer2 or "disable composition" compatibility option enabled. Window frame displays incorrectly with BasicThemer2 or "disable composition" compatibility option enabled Aug 26, 2022
@otya128
Copy link
Owner

otya128 commented Aug 29, 2022

If you have changed EnableVisualStyle or DisableAero in otvdm.ini, please change them back.

@OrthodoxWindows
Copy link
Author

OrthodoxWindows commented Aug 29, 2022

This doesn't solve anything at all, I know for a fact why I enabled those options. I'm reporting a bug, it has nothing to do with possible workarounds. Disabling the "DisableAero" option is equivalent to disabling the problematic feature.

Moreover, it is marked that the change to 0 of the "DisableAero" function will affect compatibility a bit (and not will significantly affect compatibility), which is logical, because it is about the frame of the windows. The problem I encounter is present in the same way in all the programs opened with Winevdm, which makes me say that it is a problem directly related to Winevdm, and not to the 16-bit programs themselves. By the way, @Ingan121 told me that Winevdm works fine with DWM disabled (Windows with DWM disabled contains the same window frame). However, newer Windows are not usable for production use with DWM disabled. The only solution to get the "Windows Basic" frame and therefore BasicThemer2 or the "Disabled composition" compatibility option.

Finally, the problem does not arise at all for the dialog boxes, but only for the main windows.

otya128 added a commit that referenced this issue Aug 29, 2022
@otya128
Copy link
Owner

otya128 commented Aug 29, 2022

If you intend to do so, please report it clearly.

Fixed the window frame issue, but 16-bit programs and visual styles can have compatibility issues.

@OrthodoxWindows
Copy link
Author

Thank you for the correction !

Sorry for the lack of clarity, but English is not my native language. I will try to be clearer in the future.

Otherwise, I'm not asking for perfect compatibility with visual styles, I'm aware of the impossibility of the task ; only, this problem affected all applications.

So can I close the issue ?

@cracyc
Copy link
Contributor

cracyc commented Aug 29, 2022

If the change fixes your issue then close it.

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