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

Program unusable when having more than one physical monitor #300

Open
dexamenos opened this issue Nov 3, 2023 · 2 comments
Open

Program unusable when having more than one physical monitor #300

dexamenos opened this issue Nov 3, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@dexamenos
Copy link

dexamenos commented Nov 3, 2023

See also here:
scottaxcell/winddcutil#10

If there are more than one physical monitors, like one desktop monitor and one beamer showing the same desktop, this library fails.

@newAM
Copy link
Owner

newAM commented Nov 5, 2023

At the time of development I couldn't create a situation which had more than one physical monitor per hmonitor, even when duplicating desktops across multiple monitors. Can you describe more about your physical setup? Filling out the issue template would help!

I'll try again next time I boot into windows.

@newAM newAM added the help wanted Extra attention is needed label Nov 5, 2023
@dexamenos
Copy link
Author

Sure. My setup is in a computer lab. The main computer has one physical screen and one beamer/projector attached. We have a nVidia P2000 graphics card with four DisplayPort outlets.

I try to work through the WinAPI myself. This is what I get from GetPhysicalMonitorsFromHMONITOR:

First: Desktop Setting set to "Expand"
Unbenannt

Second: Desktop Setting set to "Duplicate"
Unbenannt1

I do release the physical monitor handle with DestroyPhysicalMonitors after each run, so umbers start at 0 again.

The lower part if the list is from EnumDisplayDevices and EnumDisplaySettings.

@newAM newAM added bug Something isn't working and removed help wanted Extra attention is needed labels Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants