Start GLMakie visualization in previous position with previous size

Have you tried the focus_on_show and resolution arguments to GLMakie.Screen?

using GLMakie
GLMakie.Screen(; resolution=(1000, 500), focus_on_show=true)

I’ve been wanting to figure out the other things you mention and I think I’ve got it:

s = GLMakie.Screen()
glw = s.glscreen
cursize = GLMakie.GLFW.GetWindowSize(glw)
GLMakie.GLFW.SetWindowSize(glw, 1000, 100)
# resize the window manually..
GLMakie.GLFW.SetWindowSize(glw, cursize...) # goes back

There’s a GetWindowSize and SetWindowPos that work the same. On MacOS at least, this position seems to be on the extended desktop when there are multiple monitors.

BTW I figured this stuff out by entering GLMakie.GLFW. and then tab-completing to discover what was there. I guess one should probably read the actual docs but they largely point to the GLFW documentation.