Bug #1394
closedWDatePicker transfers focus to nowhere
0%
Description
Hello,
I have a problem with the WDatePicker Widget. I have a form with some entrys (WLineEdit) and the user can go from entry to entry with the tab/shift tab key. The focus is transferred from entry to entry. But if I open the calendar in a WDatePicker Widget, choose a date and click the close Button, the focus is ... i don't know where.
What can I do, to set the focus to the WLineEdit of the WDatePicker, after closing the calendar? And is it possible to use arrow/PageDown/Pageup keys to navigate in the calendar and Enter to select a date?
Updated by Herbert Zenz over 12 years ago
Hello,
Are there any news about this problem? I need this feature in a application for our customer.
Updated by Wim Dumon over 12 years ago
Hello Herbert,
Can you connect dp~~changed() or dp>calendar()activated() to le~~>setFocus()?
Best regards,
Wim.
Updated by Herbert Zenz over 12 years ago
Hello Wim,
Yes - I've done this and the text field gets the focus, when I click on an other date in the calendar. But if I click the close button, the focus is still lost.
Best regards,
Herbert
Updated by Koen Deforche over 12 years ago
Hey,
Good observation. I've added a WDatePicker::closedSignal() which you can connect to, and implemented the focussing of the line edit behaviour when the popup closes.
As to keyboard navigation: now that is currently not possible. That should probably be a feature request ?
Regards,
koen
Updated by Koen Deforche over 12 years ago
- Status changed from New to Resolved
- Assignee set to Koen Deforche
- Target version set to 3.2.3
Updated by Koen Deforche about 12 years ago
- Status changed from Resolved to Closed
Fixed in Wt 3.2.3 RC1.