AutoActions icon indicating copy to clipboard operation
AutoActions copied to clipboard

Add Prevent HDR Option to Applications and choose if your Desktop is HDR On or Off

Open stefhol opened this issue 4 years ago • 2 comments

grafik grafik

#21

Why Parsec HDR Feature is payed only. To Stream your Screen you have to use non HDR Mode or your colors are off.

Now you can set any application as Prevent HDR. AutoHDR will not enable HDR if one program that prevents it is running

There is also a new Desktop HDR Feature. Meaning when you are on Desktop it will turn HDR on. So you will get back to HDR Mode if your Application that prevents it is closed.

Translations are already built in for german and english.

Code changes that are not feature dependend:

  • Refactored HDRActivionMode.cs to ViewEnums.cs. There are now 2 Enums that are only used in the View
  • Commit add try catch for logging. It hard exited on me if this log is hit in debugging mode

Problems I have found:

  • Changing Settings will not have an immediate effect. So enabling desktop hdr will not trigger a hdr change
  • Activating Prevent HDR on a running program will only trigger an hdr change if you click on another process Both of them are maybe desired. So you will not spam HDR changes only while changing settings

stefhol avatar Sep 24 '21 17:09 stefhol

Hey,

thank you for your work. I will try to find some time to look into this. Please see my other branch. I am working on applications profile to set various settings (HDR, resolution, refresh rate, etc.). They will working with events ( started stopped, focused, lost focus) and a ranking. With this feature, you can prioritize apps and set hdr off for the started event, for example. It drives me nuts that I don’t have so mich time for this as I would like to have ^^

stefhol @.***> schrieb am Fr. 24. Sept. 2021 um 19:18:

[image: grafik] https://user-images.githubusercontent.com/35531567/134711619-9e699493-ff4a-49ba-abd6-d75a51c31167.png [image: grafik] https://user-images.githubusercontent.com/35531567/134711665-d5582e52-3c9a-4c8a-a2cf-5facd709af10.png

#21 https://github.com/Codectory/AutoHDR/issues/21

Why Parsec HDR Feature is payed only. To Stream your Screen you have to use non HDR Mode or your colors are off.

Now you can set any application as Prevent HDR. AutoHDR will not enable HDR if one program that prevents it is running

There is also a new Desktop HDR Feature. Meaning when you are on Desktop it will turn HDR on. So you will get back to HDR Mode if your Application that prevents it is closed.

Translations are already built in for german and english.

Code changes that are not feature dependend:

  • Refactored HDRActivionMode.cs to ViewEnums.cs. There are now 2 Enums that are only used in the View
  • Commit add try catch for logging. It hard exited on me if this log is hit in debugging mode

Problems I have found:

  • Changing Settings will not have an immediate effect. So enabling desktop hdr will not trigger a hdr change
  • Activating Prevent HDR on a running program will only trigger an hdr change if you click on another process Both of them are maybe desired. So you will not spam HDR changes only while changing settings

You can view, comment on, or merge this pull request online at:

https://github.com/Codectory/AutoHDR/pull/31 Commit Summary

File Changes

Patch Links:

  • https://github.com/Codectory/AutoHDR/pull/31.patch
  • https://github.com/Codectory/AutoHDR/pull/31.diff

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Codectory/AutoHDR/pull/31, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOWXFILD6PWRPBKPPS63LDTUDSXF5ANCNFSM5EWMMRNQ .

Codectory avatar Sep 24 '21 17:09 Codectory

Hey its no Problem there are more important things in life than hdr auto switching.

I used it quite a bit now and found no bug. I also made the commits extra tidy so it should be rather simple to integrate the changes

:)

stefhol avatar Sep 27 '21 15:09 stefhol