Suggestion: Add settings for selection of monitors
I like this simple piece of software, but I lack one feature here - I want to select to which monitors it applies this shift, because I have multimonitor setup and only one of it is OLED, therefore I dont need it on the other ones and I find it quite annoying when its turned on, am playing some game in fullscreen, but it moves some windows on side monitor. I dont want to hustle over turning it off and on...
Hey, Thanks for the suggestion, that actually makes a lot of sense! I haven't considered that setup since a single widescreen is more than enough for me as it is 😂
Adding the option to select which monitors OLEDShift applies to should be doable with the Win32 API. My main concern will be making sure that we can reliably save these settings, specifically figuring out if monitor IDs stay consistent after a reboot.
I’m a bit swamped with exams and work right now, but I’ll try to look into this towards the very end of the year. Appreciate the feedback!
I think monitor IDs should stay consistent after reboot imho, but I am not sure of the behaviour in the situation, when e.g. I turn off one of the monitors 🤔 (sometimes I dont need OLED at all, so I preserve its lifetime by this).. Windows 11 remembers positions and settings of my setup and if I turn it on again, it behaves correctly. Hopefully it can be consistent even in this way, but I will be happy enough even with basic functionality of this :D
Haha, yeah, that would definitely be ideal if the IDs stayed consistent! But unfortunately, the APIs we get to work with are a bit of a mixed bag. This is mostly off the top of my head, so don’t quote me on it, but I think Windows has about three different APIs for monitors and they all seem to handle IDs inconsistently. Turning off a monitor, rebooting, or even just swapping video cables can cause the IDs to change, even though Windows itself recognizes each display correctly.
I still remember how much of a headache it was for the WinDynamicDesktop guys when they added multi-monitor support 😅
Hey @pitris90, I've added the selectable monitor feature you requested
If you have some time, could you please test it with your multi-monitor setup and let me know how it goes?
You can get the latest build here: https://github.com/Marko19907/OLEDShift/actions/runs/12527779883
Thanks for the suggestion, cheers! 🙌
Hey, i finally got to testing that feature.. But unfortunetely it seems it doesn't work now correctly.. In screens it only shows my disabled screen for some reason and other two, which im currently using, are not visible there...
Hey, Sorry for the delay, I'm not quite sure what's causing your issue since I can't reproduce it on any of my PCs and other users aren't seeing the same thing, see #26
I've built a little CLI tool to help debug this, are you please able to fetch it from the build here, put debug_monitors.exe next to your settings file, run it, and post the output here?
Sure, this is my result...
Device ID | Friendly name | Connected | Enabled
MONITOR\AUS27F5{4d36e96e-e325-11ce-bfc1-08002be10318}\0004 | PG27UCDM | true | true MONITOR\AUS25B5{4d36e96e-e325-11ce-bfc1-08002be10318}\0005 | ASUS ROG PG259QN(DisplayPort) | true | false