Project

General

Profile

Actions

Bug #1394

closed

WDatePicker transfers focus to nowhere

Added by Herbert Zenz over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
08/13/2012
Due date:
% Done:

0%

Estimated time:

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?

Actions #1

Updated by Herbert Zenz over 11 years ago

Hello,

Are there any news about this problem? I need this feature in a application for our customer.

Actions #2

Updated by Wim Dumon over 11 years ago

Hello Herbert,

Can you connect dp~~changed() or dp>calendar()activated() to le~~>setFocus()?

Best regards,

Wim.

Actions #3

Updated by Herbert Zenz over 11 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

Actions #4

Updated by Koen Deforche over 11 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

Actions #5

Updated by Koen Deforche over 11 years ago

  • Status changed from New to Resolved
  • Assignee set to Koen Deforche
  • Target version set to 3.2.3
Actions #6

Updated by Koen Deforche over 11 years ago

  • Status changed from Resolved to Closed

Fixed in Wt 3.2.3 RC1.

Actions

Also available in: Atom PDF