Calendar date select
-
Hi
While testing the calendar widget I noticed that it kept selecting the day before the date I was tapping on and that it was almost impossible to select a Sunday date (far right).
It seems that the tap detection point is off to the right of the day number, as if it was between two days
e.g. in Feb 2023, if I tap on 8 it will pick 7, I have to tap between 8 and 9 to get 8, and I can't get 5 or 12 or any Sunday to work.
Maybe it is my phone but the same happens even if I make it larger, W 100%.Regards,
Denes -
@DenesL Hi!
Strange, I don't experience such symptoms on my device. Please see the video I've uploaded here:
https://youtube.com/shorts/yaHERMsyBtY?feature=shareThe "redish" glow represents the actual touch position.
Can you try a different device just to test this? Can you paste the initialization code (for |CA)? I will try to reproduce this with your initialization parameters.
Best regards,
kl3m3n -
@kl3m3n
Hi!
It must be my phone, it is a Xiaomi Poco F3 with MIUI.
I was unable to find a way to display the taps as you did.
The calendar is just the default but larger
"|CA UID:ca0 X:50 Y:50 W:100 H:50\r\n"Tomorrow I will try with another phone and report back, I think that one is standard Android, just a bit older.
Regards,
Denes -
@DenesL Hm... I use Xiaomi also... I am interested to see your results.
Best regards,
kl3m3n -
@kl3m3n Hi!
Same issue using a Huawei P30 lite running Android 10 EMUI 10 or an old Moto G with Android 5.1, but I think the problem is that it is selecting the previous day always, so to get a date on the far right of the screen I have to tap the next day on the far left, and if I tap on the first day of a month it picks the last day of the previous month e.g. Feb.1 picks Jan.31Regards,
Denes -
@DenesL Hi.
So this might be an indexing issue... I will try to set the width and height to the same values as in your case and test this further. Will get back to you...
Does the problem still persist if you use the default widget sizing?
Best regards,
kl3m3n -
@kl3m3n Hi!
It happens at any size, I just made it larger to see if that would make it go away.Regards,
Denes -
@DenesL Hi,
I tried this on three different devices (2x Xiaomi phone, and Samsung tabled) and I cannot reproduce the problem... Will try some more devices in the following days.
BR,
kl3m3n -
@kl3m3n Hi!
I asked my wife to try the calendar (she has smaller fingers) but same thing happens to her, the widget keeps picking the date before the one she taps on.Regards,
Denes -
@DenesL Thanks for the feedback.
I am not experiencing this problem on any of my devices, which is strange... I get some strange behavior (nothing serious, some taps on the screen don't always work on the outer-most days...) when setting the calendar width to approx. 90% or more...
I will try some more devices...
Lastly, I will see if I can re-implement the calendar widget a bit differently... This will take some time though. In any case, I will get back to you.
Best regards,
kl3m3n