Found that in the demo, if the wx.PopupControl demo is run with all or
most of the demo on a second screen off to the right of the main screen
then the pop-up appears on the right hand edge of the main screen,
(unfortunately on top of a calender widget so it took a little time to
notice where it had gone).
This behaviour is at odds with the other pop-up components which are
correctly positioned near to the originating control point.
Tested on wxPython 2.8.12.0, Python 2.6 wxMSW, Unicode, SWIG-1.3.29 and
wxPyton 2.9.2.2 running on Python 2.7.2.
Also tested with the demo running on a secondary display to the left and
above the main display and got similar results - pop-up appears at the
edge of the main screen rather than near the triggering control.
Unfortunately the positioning of that popup can be overruled by the platform since it is using a wx.Dialog. It was written before we had wx.PopupWindow and wx.PopupTransient window available, perhaps it should be rewritten to use one of those instead...
···
On 10/17/11 7:55 AM, Gadget/Steve wrote:
Found that in the demo, if the wx.PopupControl demo is run with all or
most of the demo on a second screen off to the right of the main screen
then the pop-up appears on the right hand edge of the main screen,
(unfortunately on top of a calender widget so it took a little time to
notice where it had gone).
This behaviour is at odds with the other pop-up components which are
correctly positioned near to the originating control point.
Tested on wxPython 2.8.12.0, Python 2.6 wxMSW, Unicode, SWIG-1.3.29 and
wxPyton 2.9.2.2 running on Python 2.7.2.
Also tested with the demo running on a secondary display to the left and
above the main display and got similar results - pop-up appears at the
edge of the main screen rather than near the triggering control.