``PopupControl.py`` in the demo examples seems to misbehave: each odd attempt to popup the calendar control works just fine, while each even attempt positions the popup'ed control at the center of the parent window. After examining/testing the ``wx.lib.popupctl`` module a bit, it seems that the call to ``Move()`` in ``PopupDialog.Display()`` positions the popup'ed control exactly where it should. However, the call to ``ShowModal()`` that follows seems to mess things up. Note that I've tried this in both 2.6.3.2 and 2.8.1.1 versions found in my Ubuntu 7.10 box. Is there any workaround here?
``PopupControl.py`` in the demo examples seems to misbehave: each odd attempt to popup the calendar control works just fine, while each even attempt positions the popup'ed control at the center of the parent window. After examining/testing the ``wx.lib.popupctl`` module a bit, it seems that the call to ``Move()`` in ``PopupDialog.Display()`` positions the popup'ed control exactly where it should. However, the call to ``ShowModal()`` that follows seems to mess things up. Note that I've tried this in both 2.6.3.2 and 2.8.1.1 versions found in my Ubuntu 7.10 box. Is there any workaround here?
Check your window manager settings to see if there are settings controlling new window placement.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
``PopupControl.py`` in the demo examples seems to misbehave: each odd attempt to popup the calendar control works just fine, while each even attempt positions the popup'ed control at the center of the parent window. After examining/testing the ``wx.lib.popupctl`` module a bit, it seems that the call to ``Move()`` in ``PopupDialog.Display()`` positions the popup'ed control exactly where it should. However, the call to ``ShowModal()`` that follows seems to mess things up. Note that I've tried this in both 2.6.3.2 and 2.8.1.1 versions found in my Ubuntu 7.10 box. Is there any workaround here?
Check your window manager settings to see if there are settings controlling new window placement.
I'm using KDE 3.5.6 and my current settings for Window Placement is "Smart", which is the default. I've tested the example with all possible window-placement settings and the popup'ed window keeps showing the behaviour described above.
``PopupControl.py`` in the demo examples seems to misbehave: each odd attempt to popup the calendar control works just fine, while each even attempt positions the popup'ed control at the center of the parent window. After examining/testing the ``wx.lib.popupctl`` module a bit, it seems that the call to ``Move()`` in ``PopupDialog.Display()`` positions the popup'ed control exactly where it should. However, the call to ``ShowModal()`` that follows seems to mess things up. Note that I've tried this in both 2.6.3.2 and 2.8.1.1 versions found in my Ubuntu 7.10 box. Is there any workaround here?
Check your window manager settings to see if there are settings controlling new window placement.
I'm using KDE 3.5.6 and my current settings for Window Placement is "Smart", which is the default. I've tested the example with all possible window-placement settings and the popup'ed window keeps showing the behaviour described above.
Please try 2.8.4.2. I think there was a fix done relatively recently that affected window placement in wxGTK.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
``PopupControl.py`` in the demo examples seems to misbehave: each odd attempt to popup the calendar control works just fine, while each even attempt positions the popup'ed control at the center of the parent window. After examining/testing the ``wx.lib.popupctl`` module a bit, it seems that the call to ``Move()`` in ``PopupDialog.Display()`` positions the popup'ed control exactly where it should. However, the call to ``ShowModal()`` that follows seems to mess things up. Note that I've tried this in both 2.6.3.2 and 2.8.1.1 versions found in my Ubuntu 7.10 box. Is there any workaround here?
Check your window manager settings to see if there are settings controlling new window placement.
I'm using KDE 3.5.6 and my current settings for Window Placement is "Smart", which is the default. I've tested the example with all possible window-placement settings and the popup'ed window keeps showing the behaviour described above.
Please try 2.8.4.2. I think there was a fix done relatively recently that affected window placement in wxGTK.