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

ofGLFWWindowSettings::monitor has no effect (with Windows) #7959

Open
Jonathhhan opened this issue May 15, 2024 · 6 comments
Open

ofGLFWWindowSettings::monitor has no effect (with Windows) #7959

Jonathhhan opened this issue May 15, 2024 · 6 comments

Comments

@Jonathhhan
Copy link
Contributor

Jonathhhan commented May 15, 2024

All of the other GLFW settings work, but ofGLFWWindowSettings::monitor not (if I am right, that one should choose the monitor where the screen coordinates start). I experience the issue with Windows.

@Jonathhhan
Copy link
Contributor Author

Jonathhhan commented May 15, 2024

Maybe with my Windows system is somethiong wrong, because the app Window always appears on the second monitor...

@dimitre
Copy link
Member

dimitre commented May 15, 2024

There is a lot of issues with GLFW window handling. In fact for production I'm using a fork that fixes most problems to me, but it changes API.
if you want to try it out, it is here
https://github.com/dimitre/openFrameworks/tree/glfw0

in this fork you should use ofWindowSettings instead of ofGLFWWindowSettings

@Jonathhhan
Copy link
Contributor Author

@dimitre thank you. I tried it, the monitor setting still has no effect.

@dimitre
Copy link
Member

dimitre commented May 15, 2024

which one is your primary monitor? and which one is on the left on arrangement?
other thing you can try, not sure if it will result differently, is to try a different setting in that branch, like

		settings.fullscreenDisplays = { 1 };

@Jonathhhan
Copy link
Contributor Author

I guess, my primary monitor is on the right (I had to switch the order in the control panel). This can make it more confusing.

@dimitre
Copy link
Member

dimitre commented May 24, 2024

I've just perceived a similar issue to yours
#7993

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants