Open willend opened 5 months ago
Looks like OpenSceneGraph or OpenGL having some sort of monitor size detection issues, or perhaps some x2 scaling I forgot that I enabled. I was wondering @willend did you by any chance have a multi-monitor setup active at the time, if that could have played a role?
Nope, single screen on that Mac at the time
On this machine (my newest Mac, M2 machine from ESS) the gui even works right:
Ok that's great, so it is not a general issue. However, I still suspect that there is an underlying issue related to stuff like opengl and monitors, etc. But I guess we can close this issue for now, unless we see it again elsewhere.
Reopening since @willend reproduced it.
It seems that there are ties to this old osg
issue:
https://github.com/openscenegraph/OpenSceneGraph/issues/926
and this one https://github.com/omnetpp/omnetpp/issues/833
WORKAROUND:
It seems that the issue only occurs on internal mac screens - or al least "HiDPI" screens left at the "Default" resolution:
A workaround is to switch to maximum resolution on the said monitor, via:
"Advanced" -> select to "Show resolutions as list"
Select to "Show all resolutions" and switch from (Default) to maximum resolution:
NB: osg will crashe if open while resolution is changed - or if dragged between two different monitors with different settings.
Thanks a lot for the workaround @willend, I will add a link to it in the documentation!
Very likely the problem is not only on M1/M2/M3, but also Intel Macs with this type of HiDPI display
That makes sense @willend, it seems this is indeed explained by https://github.com/openscenegraph/OpenSceneGraph/issues/926
Unfortunately I asked the OSG maintainer, and he does not have time to make a new release (1) so we will most likely have to live with the workaround for the time being.