Re: glwindow on secondary monitor
Posted by
Sven Gothel on
Dec 20, 2011; 11:30pm
URL: https://forum.jogamp.org/glwindow-on-secondary-monitor-tp3593579p3602608.html
On Tuesday, December 20, 2011 11:58:55 PM Triipaxx [via jogamp] wrote:
>
> I'm using windows 7 and 2 screens wich are not set up as big display.... so i
> should have 2 seperate screens.
> but unfortunately, it's not working.
> what is working, in certain sitution, is to set the position of the the
> glwindow to i.e. 1920 in x and 0 in y. than the window is shown on the
> secondary screen. but this "workarround" only works, if the screens are
> aligned 0, 1 (primary left, secondary right) if you switch the position of
> the screens in windows (secondary left, primary right) it is allways shown
> on the primary monitor. i figured out, that the screen coordinates are
> negative for the secondary screen. so setting the position will fail what
> causes the glwindow to be opend on the primary screen.
Thank you for your very thorough decription.
I will try to reproduce this issue now, and hopefully be able to fix it.
Can you add a few more details about your GPU driver and the respective
multi-screen setup ? I am sorry, I haven't really digged into this on Windows yet.
The last multi screen test was a few years ago and it worked in big screen mode (duh!) :),
since I could find the option to have them in separate screens.
>
> i will try to embedd a NEWTCanvasAWT inside a JFrame. hopefully this will
> work.... :(
Don't worry we will fix this together - your help (test/input) is very welcome.
~Sven