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

HDR toggle on Windows 24H2 Build 26100 isn't working when "Automatically manage color for apps" is enabled in SDR mode #1370

Open
3 tasks done
1aTa opened this issue Jul 17, 2024 · 3 comments
Labels
blocked Something is blocking this issue bug Something isn't working

Comments

@1aTa
Copy link

1aTa commented Jul 17, 2024

Rules

  • I made myself familiar with the README.
  • I checked closed issues for similar ones and did not find a similar problem mentioned before.
  • I understand that, if insufficient information was provided, my issue will be closed without an answer.

Version

2.23.0

OS

Windows 24H2 Build 26100.1150

Device

Legion 5 Pro 16IAH7H

BIOS version

J2CN57WW

What's wrong?

Windows 24H2 Build 26100 has a new option which seems to be confusing the HDR mode toggle.

The new option "Automatically manage color for apps" under "System > Display > Color Management" increases the color range of Windows SDR to HDR levels to remove things like color banding. It works great and is very noticeable throughout the Windows UI but a side effect is all apps think they are already in HDR mode, when they're actually not. With this option enabled the only way I've found to switch Windows HDR mode on and off is with the toggle in Windows settings.

More info here: https://support.microsoft.com/en-us/windows/auto-color-management-in-windows-11-64a4de7f-9c93-43ec-bdf1-3b12ffa0870b

How to reproduce the bug?

Whilst in SDR mode goto "System > Display > Color Management" and enable "Automatically manage color for apps".

Try to enable and disable HDR mode using HDR toggle in LLT.

What is the behavior that you expected?

HDR toggle should show as disabled in SDR mode and HDR mode should be enabled and disabled when toggling on and off.

Logs

log_2024_07_17_11_13_36.txt

Additional information

No response

@1aTa 1aTa added the bug Something isn't working label Jul 17, 2024
@1aTa 1aTa changed the title HDR Toggle on Windows 24H2 Build 26100 isn't working when "Automatically manage color for apps" is enabled in SDR mode HDR toggle on Windows 24H2 Build 26100 isn't working when "Automatically manage color for apps" is enabled in SDR mode Jul 17, 2024
@1aTa
Copy link
Author

1aTa commented Jul 21, 2024

This is the first app that I know of which has resolved this issue: res2k/HDRTray#13

@res2k
Copy link

res2k commented Jul 21, 2024

Relevant commits:
res2k/HDRTray@68824b1
res2k/HDRTray@84c2367

Since DisplayExtensions is implemented through DisplayConfigGetDeviceInfo/DisplayConfigSetDeviceInfo as well, it'd probably be doable to extend the existing code to preferably use the new 24H2 structures, and fall back to the existing code otherwise.

@res2k
Copy link

res2k commented Jul 21, 2024

Alas, looks like this is required first: microsoft/win32metadata#1930

@BartoszCichecki BartoszCichecki added the blocked Something is blocking this issue label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Something is blocking this issue bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants