Picker() with PICKER_TYPE_CALENDAR, changing Month or Year closes selection dialog w/o updating

11 views
Skip to first unread message

shop.servic...@gmail.com

unread,
Jan 9, 2019, 1:25:37 PM1/9/19
to CodenameOne Discussions
If you are experiencing an issue please mention the full platform your issue applies to:
IDE: NetBeans/Eclipse/IDEA NetBeans 8.2
Desktop OS Windows 10 Pro
Simulator Latest
Device PC, Android 7, IOS 12+

Run this, tap on Date Field, A proper calandar appears, try to change Month or Year and Calendar dialog closes VS changing the calendar view to the selected Month or Year.

            Form hi = new Form("", new BoxLayout(BoxLayout.Y_AXIS));
            Picker A3TimeSheetDate = new Picker();
            A3TimeSheetDate.setDate(new Date(System.currentTimeMillis()));
            A3TimeSheetDate.setType(Display.PICKER_TYPE_CALENDAR);
            SimpleDateFormat formatter = new SimpleDateFormat("E MM-dd-yyyy");
            A3TimeSheetDate.setFormatter(formatter);
            FontImage.setMaterialIcon(A3TimeSheetDate, FontImage.MATERIAL_DATE_RANGE, 4);
            A3TimeSheetDate.setUIID("TimeSheetDate");
            hi.add(A3TimeSheetDate);
            hi.show();

Thanks In Advance

Shai Almog

unread,
Jan 9, 2019, 10:48:45 PM1/9/19
to CodenameOne Discussions
There seems to be a regression there, can you please file an issue?

Steve Hannah

unread,
Jan 10, 2019, 8:18:07 AM1/10/19
to codenameone...@googlegroups.com
This is fixed now.  It will be included in the next update.

Steve

On Wed, Jan 9, 2019 at 7:48 PM Shai Almog <shai....@gmail.com> wrote:
There seems to be a regression there, can you please file an issue?

--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discu...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/b8e198a4-3dd1-4feb-81a1-456188e81d92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Steve Hannah
Software Developer
Codename One

shop.servic...@gmail.com

unread,
Jan 11, 2019, 4:44:03 PM1/11/19
to CodenameOne Discussions
Thanks.


On Thursday, January 10, 2019 at 8:18:07 AM UTC-5, Steve Hannah wrote:
This is fixed now.  It will be included in the next update.

Steve

On Wed, Jan 9, 2019 at 7:48 PM Shai Almog <shai....@gmail.com> wrote:
There seems to be a regression there, can you please file an issue?

--
You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsub...@googlegroups.com.

shop.servic...@gmail.com

unread,
Jan 12, 2019, 8:19:40 AM1/12/19
to CodenameOne Discussions
Thanks for all your help!

Works.
Reply all
Reply to author
Forward
0 new messages