openFrameworks icon indicating copy to clipboard operation
openFrameworks copied to clipboard

ofGLFWWindowSettings::monitor has no effect (with Windows)

Open Jonathhhan opened this issue 1 year ago • 6 comments

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 avatar May 15 '24 14:05 Jonathhhan

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

Jonathhhan avatar May 15 '24 15:05 Jonathhhan

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

dimitre avatar May 15 '24 15:05 dimitre

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

Jonathhhan avatar May 15 '24 20:05 Jonathhhan

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 };

dimitre avatar May 15 '24 22:05 dimitre

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.

Jonathhhan avatar May 15 '24 22:05 Jonathhhan

I've just perceived a similar issue to yours https://github.com/openframeworks/openFrameworks/issues/7993

dimitre avatar May 24 '24 02:05 dimitre