unable to tab out of a GenericDatePickerCtrl

28 views
Skip to first unread message

mrooney

unread,
Jan 9, 2010, 6:18:06 PM1/9/10
to wxPython-users
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 :)

mrooney

unread,
Jan 10, 2010, 1:58:09 AM1/10/10
to wxPython-users
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!
>

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

Robin Dunn

unread,
Jan 11, 2010, 7:48:54 PM1/11/10
to wxpytho...@googlegroups.com

Please create a bug report about this at wxTrac.


--
Robin Dunn
Software Craftsman
http://wxPython.org

mrooney

unread,
Jan 15, 2010, 2:16:33 AM1/15/10
to wxPython-users
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 :)
>
> Please create a bug report about this at wxTrac.
>

Done! http://trac.wxwidgets.org/ticket/11630 . Thanks for your time
and help on this, and as I mentioned in the bug report, work-arounds
are quite welcome.

- Mike

Reply all
Reply to author
Forward
0 new messages