zlgopen / awtk

AWTK = Toolkit AnyWhere(a cross-platform embedded GUI)
GNU Lesser General Public License v2.1
3.11k stars 768 forks source link

button长按之后松开,pointer_up事件偶尔不触发 #873

Open zhaoyangxia1990 opened 7 months ago

zhaoyangxia1990 commented 7 months ago

触摸用的tslib,在button长按之后松开,pointer_up事件偶尔不触发。 跟踪到awtk_linux_fb下面awtk-port/input_thread/tslib_thread.c中函数tslib_dispatch_one_event分发的EVT_POINTER_UP事件,但到awtk/src/main_loop/main_loop_simple.c中函数main_loop_dispatch_events没有进入case EVT_POINTER_UP分支,EVT_POINTER_UP事件丢失,从而出现界面绑定的pointer_up事件没有触发。

请帮忙看看,感谢!

xianjimli commented 7 months ago

是最近的代码吗?

zhaoyangxia1990 commented 7 months ago

是的,上个月更新的

xianjimli commented 7 months ago

你到微信群里问下,我没有相关设备,不好重现。