Way to refresh projector options after display disconnect?

SuperWhisk

New Member
I can’t seem to come up with the correct search terms to find anything related to this issue that I am certain has come up before.

When right-clicking on the output and choosing full screen projector, a list of displays is shown that mirrors the displays shown in Windows settings. With OBS still running, if you disconnect one of these displays and then reconnect it (eg by unplugging the display cable) it will be detected again by Windows but the list the full screen projector menu does not update to include it. The only way that I have found to update the list is to restart OBS, which is not always an option (such as when actively streaming).
Is there any way to force this list to refresh without restarting OBS? Perhaps an API call that can be accessed via a lua or python script? Or is this a QT issue rather than an OBS issue?

I don’t have a log file to include at the moment but this has been consistently reproduceable for me across multiple PCs for as long as I have been using OBS (since about march 2020).
Thank you in advance for any help!
 
I have now created a trimmed down log file using a new profile and scene collection (to spare anyone looking from reading through 100 scene/source initializations). It can be found here:
https://obsproject.com/logs/vwUC2GA64-hFPtVf
As you can see, the log does not contain any lines about a display being disconnected and reconnected, but I did indeed do this during the session! It was display 3 as reported in the log in the display adapters section.
 
By the time this post was approved to be displayed publicly (presumably as I am a new forum member) it was on page 5 or 6...
In any case, I'd like to provide a small clarification to my original post in addition to bumping this thread.
The list of displays available to create a full screen projector on is updated dynamically to remove a display when one is disconnected, but it doesn't dynamically update to add it back when it is re-connected, so what I am looking for is a way to force-refresh this list to add the display back.
 
Back
Top