Hello,
It is not deliberate! I suspect this is a Tk limitation. What the code
does is to pop up the menu at the location given by the x_root, y_root of
the triggered event. The documentation says this is "the current mouse
position relative to the upper left corner of the screen, in pixels".
Now I guess it takes that relative to the screen you happen to be working
on rather than some global idea of where the "main" screen is, but then
the popup happens at that location relative to the "main" screen.
Do you want spectrum windows on both screens or only on one of them? If
you only want the windows on one of the screens then in the Displays
dialog in System Preferences I would suggest that you arrange that screen
to be the one at the left (I think this is possible but I might be wrong,
I don't have a second screen!).
Wayne
On Sat, 2 Feb 2013, Tom Carruthers wrote:
> Hi,
>
> Just highlighting an annoying 'feature' of Analysis I have come across.
>
> When using an iMac (running OS x 10.6), with a second monitor attached,
> any drop down box/right-click menu/etc always appears on the main screen
> rather than on the screen where the right-click etc happened. I assume
> this is a piece of code to stop menus from turning up off screen. I am
> using an up-to-date version of Analysis 2 and an updated version of
> XQuartz.
>
> A little frustrating as you can probably imagine!
>
> Cheers,
> Tom
>
|