If I switch a GLWindow to fullscreen (GLWindow.setFullscreen()) the top left display starts at the 0,0 coordinates of the embedded view and not at the monitor 0,0 coordinates. I tried to correct this with the newTChild.setPosition method but this had no effect.
Excellent, thank you.
Hello Sven, with the latest built (1502) fullscreen works for Linux (as well as the correct layout on high dpi). On Windows and Mac, however still the same top-left of the view.
(In reply to Marcel Au from comment #2) commit e03204605f95dc3586d8e3582250211954542be5 Bug 1423: NEWT Child Window on OSX: Don't use parent derived location in fullscreen mode WindowDriver OSX: useParent(..) -> useParentLocation(..) and add !isFullscreen() as a criteria to use the parent derived location.
(In reply to Marcel Au from comment #2) On Windows I cannot validate the bug, i.e. fullscreen works for me. I used the VM as described in Bug 1422 comment 15
(In reply to Sven Gothel from comment #3) This commit works for me on OSX as it resolved the issue. I had no time to produce a new RC yet though.
(In reply to Sven Gothel from comment #5) Hello Sven, WindowDriver OSX: useParent(..) -> useParentLocation(..) and add !isFullscreen() as a criteria to use the parent derived location. I' don't understand. How should I call the above? Or do you have already committed the solution?
Hello Sven, fullscreen works for me on windows (highdpi) now if I set/unset/set fullscreen. At the first fullscreen event the top-left view coordinates are used. If I then set fullscreen to false and then again fullscreen the view the correct coordinates are used.
(In reply to Sven Gothel from comment #5) Hello Sven could you produce a new RC. I would like to test the fullscreen feature on Mac. My latest test was with built 1502.
Works with built 1503 on MacOSX.
(In reply to Marcel Au from comment #9) so all platforms (MacOS, Linux and also Windows) working? On Windows there should have never been an issue though .. hmm.
(In reply to Sven Gothel from comment #10) As far as I've tested it, yes. I don't know why I have to call the fullscreen action on Windows two times but it works anyway as a workaround without any time lag.
see comment 11