res2k / HDRTray

Windows Notification Area icon to show and change HDR status
https://res2k.github.io/HDRTray/
GNU General Public License v3.0
148 stars 3 forks source link

Toggle per display #7

Open petermeierrr opened 1 year ago

petermeierrr commented 1 year ago

I'm two displays usually. One big gaming monitor, and a secondary, desktop only screen. However, the latter also support HDR (somewhat) and toggles in parallel with the tray switch. That's quite undesirable. In a perfect world, it would switch the monitor the tray icon is used on. But being able to hard-select which monitor will toggle would also be great.

groooooooooooot commented 1 year ago

great suggestion

kaiettner commented 4 months ago

I'd love this as well

jmachado45 commented 4 months ago

I would like this as well!

res2k commented 1 month ago

I've added support for display selection in a prerelease: https://github.com/res2k/HDRTray/releases/tag/v0.5.90 I've opted to make it a "prerelease" only because selected displays currently can only be configured via HDRCmd (but the selection also applies to HDRTray!), and also b/c I'd like to collect a bit of feedback - ie does it work for you. So please give the new build a spin.

groooooooooooot commented 1 month ago

the cmd line toggle for multiple displays seems to work for me (so far - knock on wood).... 42" LG (using hdr) and 28" Asus display (set to be ignored). Expose it via the UI at some point and it'll be great

petermeierrr commented 1 month ago

Thanks a lot for working on this!

fI tried it now, and it does make the tool usable as hoped. Finally that fake-HDR screen stays unchanged. It's great, really. I noticed that it does reinitialize with the tool, but not changing the mode. Ideally it wouldn't re-initialize at all if set to off from toggling, but that's just a "nice to have".

Another thought: sometimes I have a third screen connected (TV), but I may want to turn only one of the screens one. Ideally there would be a direct selection which screen to turn HDR on for. It's easy enough to script different configurations with the cmd line tool, so I don't really mind, but I'm curious hwo the selection will be integrated into the tray app.

Again, thank you for this update. If you could see the grin on my face right now. :D

res2k commented 1 month ago

fI tried it now, and it does make the tool usable as hoped. Finally that fake-HDR screen stays unchanged. It's great, really. I noticed that it does reinitialize with the tool, but not changing the mode. Ideally it wouldn't re-initialize at all if set to off from toggling, but that's just a "nice to have".

I think that's Windows' doing. Just toggling HDR for a single display also affects other displays; not sure I can do anything about it.

andriy-kudrya commented 2 weeks ago

Hi! Thanks for the tool. I've tried this build with my monitors. Selective HDR works well for me thus far.