Community
Participate
Working Groups
Build Identifier: In the datepicker every click on a date trigger a selection change event. If the date picker is canceled the current date is replaced by the value of the cancelDate attribute but no selection changed event is fired. The result is the model which listens for changes will not be resetted but the display shows the value of the cancelDate => model and display are not consistent! Reproducible: Always Steps to Reproduce: 1. open datepicker 2. select a date other than the current selected one 3. click the cancel button in the datepicker 4. display shows the value selected before opening the datepicker but no selection event has been fired
I could fix the bug locally by adding fireSelectionChanged(); after each call of setSelection(cancelDate); in the class CDateTime Unfortunately i can not add a patch file because i have a uge bunch of changes from the code formatter. it seems, nebula projects do not use the eclipse code formatter.
This will fix the symptom, but the selection event should only be fired if the user presses the confirm key if the widget is not in simple mode. I fixed it according to your specs. Please give it a spin.
I tried your changes within our appliction and it works fine
Released to HEAD a while ago. Closing