unable to tab out of a GenericDatePickerCtrl

Hello! I'm noticing that on Ubuntu 9.10 with wxPython
2.8.10.1-0ubuntu1 I can tab into a DatePickerCtrl (Generic as is the
case on GTK), but not tab out of, either forward or backward. I've
pasted a minimal sample to demonstrate this at http://python.pastebin.com/fe7c1621;
you'll notice you can
tab into it from the second control and shift+tab back from the
fourth, but there is no way to get out of it it appears!

This seems to be a bit of a usability impediment and I was wondering
if anyone had any tips to resolve it. I tried binding to
wx.EVT_KEY_DOWN (I'm already doing that to allow the up and down
arrows to go up or down by one day), but it that event doesn't seem to
be triggered on a tab. I also tried wx.EVT_NAVIGATION_KEY, but no
luck. I also tried using Move[After/Before]InTabOrder to make sure
things were as expected but again no luck.

Apparently on OSX tabs work as expected, so perhaps it is a bug in a
GenericDatePickerCtrl?

Thanks so much for any assistance! (and a CC on the reply would be
greatly appreciated as well :slight_smile:

Sorry, the semi-colon is not part of the link: http://python.pastebin.com/fe7c1621

···

On Jan 9, 3:18 pm, mrooney <mroo...@gmail.com> wrote:

I've pasted a minimal sample to demonstrate this at http://python.pastebin.com/fe7c1621;
you'll notice you can
tab into it from the second control and shift+tab back from the
fourth, but there is no way to get out of it it appears!

Please create a bug report about this at wxTrac.

···

On 1/9/10 3:18 PM, mrooney wrote:

Hello! I'm noticing that on Ubuntu 9.10 with wxPython
2.8.10.1-0ubuntu1 I can tab into a DatePickerCtrl (Generic as is the
case on GTK), but not tab out of, either forward or backward. I've
pasted a minimal sample to demonstrate this at http://python.pastebin.com/fe7c1621;
you'll notice you can
tab into it from the second control and shift+tab back from the
fourth, but there is no way to get out of it it appears!

This seems to be a bit of a usability impediment and I was wondering
if anyone had any tips to resolve it. I tried binding to
wx.EVT_KEY_DOWN (I'm already doing that to allow the up and down
arrows to go up or down by one day), but it that event doesn't seem to
be triggered on a tab. I also tried wx.EVT_NAVIGATION_KEY, but no
luck. I also tried using Move[After/Before]InTabOrder to make sure
things were as expected but again no luck.

Apparently on OSX tabs work as expected, so perhaps it is a bug in a
GenericDatePickerCtrl?

Thanks so much for any assistance! (and a CC on the reply would be
greatly appreciated as well :slight_smile:

--
Robin Dunn
Software Craftsman

Done! wxTrac has been migrated to GitHub Issues - wxWidgets . Thanks for your time
and help on this, and as I mentioned in the bug report, work-arounds
are quite welcome.

- Mike

···

On Jan 11, 4:48 pm, Robin Dunn <ro...@alldunn.com> wrote:

On 1/9/10 3:18 PM, mrooney wrote:

> Hello! I'm noticing that on Ubuntu 9.10 with wxPython
> 2.8.10.1-0ubuntu1 I can tab into a DatePickerCtrl (Generic as is the
> case on GTK), but not tab out of, either forward or backward. I've
> pasted a minimal sample to demonstrate this athttp://python.pastebin.com/fe7c1621;
> you'll notice you can
> tab into it from the second control and shift+tab back from the
> fourth, but there is no way to get out of it it appears!

> This seems to be a bit of a usability impediment and I was wondering
> if anyone had any tips to resolve it. I tried binding to
> wx.EVT_KEY_DOWN (I'm already doing that to allow the up and down
> arrows to go up or down by one day), but it that event doesn't seem to
> be triggered on a tab. I also tried wx.EVT_NAVIGATION_KEY, but no
> luck. I also tried using Move[After/Before]InTabOrder to make sure
> things were as expected but again no luck.

> Apparently on OSX tabs work as expected, so perhaps it is a bug in a
> GenericDatePickerCtrl?

> Thanks so much for any assistance! (and a CC on the reply would be
> greatly appreciated as well :slight_smile:

Please create a bug report about this at wxTrac.