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

Title bar buttons always use a dark version when using other visual styles #427

Open
FreshP-0325 opened this issue Dec 3, 2024 · 0 comments
Labels
question Further information is requested

Comments

@FreshP-0325
Copy link
Contributor

FreshP-0325 commented Dec 3, 2024

Describe the bug

Title bar buttons always use a dark version when using other visual styles + custom blur + override DWMAPI.

To Reproduce

  1. Hook the UXTheme.
  2. Make a copy of the system aero.msstyles, and rename it to any other name (e.g. myaero.msstyles).
  3. Save a new custom theme via the system settings app (Personalization\Themes).
  4. Edit the theme file via text editor, and change the visual style of the theme.
[VisualStyles]
Path=%SystemRoot%\resources\themes\Aero\myaero.msstyles
  1. Apply this edited theme to apply the new visual style.
  2. Set window mode to dark mode via the system settings app, or open an app (e.g. Paint, Task Manager, Visual Studio Code with native title bar) to specify it using dark mode.
  3. And you can find the title bar buttons are dark even if the window is not using light mode.

Screenshots

Additional information (please complete the following information):

  • OS Version: Windows 11 23H2.22631.4541
  • Software Version: 2.3.0

What other third-party software do you use:

  • Windhawk: UXTheme hook 1.1

Additional context

There isn't this bug when using DWMBlurGlass 2.2.0.

@FreshP-0325 FreshP-0325 added the question Further information is requested label Dec 3, 2024
@FreshP-0325 FreshP-0325 changed the title Title bar buttons are always dark when using other visual styles Title bar buttons always use a dark version when using other visual styles Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant