-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reverse mode for lv_arc #5870
Comments
Hi, It was already fixed in v9 and I've cherry-picked the fix to |
Thanks a lot for tackling this kisvegabor! Flickering is fixed, but unfortunately it will not allow for full range touch now. Touch always stops same max. angle at about 11o'Clock. At arc range of 0-1400 (Bg start 90°/ Bg end 315°) it allows a max. value of ~840 on touch. Different range or start/end angle gets same results. |
Please send a code snippet and a video to better understand the issue. |
Thanks again, here your go... reverseArc_lvgl84.mp4 |
Thank you, but please also send a code snippet to create and initialize the arc. This way I can see if I could fix it. 🙂 |
This is genereated by SLS:
|
I've just tested this code, and it doesn't work in either v8 or v9. @C47D could take look at it? This is a simplified code to reproduce the issue: lv_obj_t * ui_Instrument2 = lv_arc_create(lv_scr_act());
lv_obj_set_size(ui_Instrument2, 200, 200);
lv_obj_set_align(ui_Instrument2, LV_ALIGN_CENTER);
lv_arc_set_range(ui_Instrument2, 0, 1400);
lv_arc_set_value(ui_Instrument2, 300);
lv_arc_set_bg_angles(ui_Instrument2, 90, 315);
lv_arc_set_mode(ui_Instrument2, LV_ARC_MODE_REVERSE);
lv_arc_set_rotation(ui_Instrument2, 45); |
We need some feedback on this issue. Now we mark this as "stale" because there was no activity here for 14 days. Remove the "stale" label or comment else this will be closed in 7 days. |
Not stale |
I haven't hear from @C47D from a while. I hope is okay, and just busy with something. @liamHowatt can you add it to your todo list after the API retirement? |
Certainly! Added. |
PR opened! #6188 |
LVGL version
V8.3.11
What happened?
Touch handling in reverse arc mode does not seem to work correctly.
Setting any value through code is okay, but when touching it shows odd behaviour.
Video taken from SLS, but behaviour is same on real display.
reverseArcProblem.mp4
How to reproduce?
just use arc in reverse mode and touch
The text was updated successfully, but these errors were encountered: