Open zhanghuawsh opened 5 years ago
ui_builder_default_on_widget_start: not supported type canvas
这类错误是没有调用tk_ext_widgets_init引起的,你用最新的代码试试。
Segmentation fault 这类错误是因为awtk-iotjs没有导出gc函数引起的,已经修改了。麻烦更新一下:awtk-iotjs和awtk-js
很难选中 这类错误需要自己调一下tslib的参数,看看上报的point是否准确。
awtk-iotjs demos测试结果
平台:arm926 linux
测试方法:将awtk-js/demos/目录下的所有文件都添加如下语句: require('awtk').init(320, 480); 测试LCD大小:5"
分辨率:800*480
1)basic.js 可以启动成功,触摸屏不灵敏,经常选不中部分控件
2)button.js 正常
3)canvas.js 出现如下错误: widget_factory_create_widget:164 iter != NULL ui_builder_default_on_widget_start: not supported type canvas Assertion failed: !"not supported" (build/var/awtk/src/ui_loader/ui_builder_default.c: ui_builder_default_on_widget_start: 44) Aborted
4)check_button.js
启动,显示都正常,但用大拇指触摸经常选不中控件
5)color.js
出现如下错误: ReferenceError Segmentation fault
6)combo_box.js
可以正常启动,当触摸下拉箭头时出现如下错误: widget_factory_create_widget:164 iter != NULL ui_builder_default_on_widget_start: not supported type keyboard Assertion failed: !"not supported" (build/var/awtk/src/ui_loader/ui_builder_default.c: ui_builder_default_on_widget_start: 44) Aborted
7)cube.js:未测试
8)demoui.js
启动画面的进度条到100%时,出现如下错误: widget_factory_create_widget:164 iter != NULL ui_builder_default_on_widget_start: not supported type digit_clock Assertion failed: !"not supported" (build/var/awtk/src/ui_loader/ui_builder_default.c: ui_builder_default_on_widget_start: 44) Aborted
9)dialog.js
正常
10)edit.js 能正常启动,触摸编辑款时,出现如下错误: widget_factory_create_widget:164 iter != NULL ui_builder_default_on_widget_start: not supported type keyboard Assertion failed: !"not supported" (build/var/awtk/src/ui_loader/ui_builder_default.c: ui_builder_default_on_widget_start: 44) Aborted
11)emitter.js 出现如下错误: ReferenceError Segmentation fault
12)idle.js 正常
13)image.js 正常
14)label.js 正常
15)named_value.js 死机
16)object.js 出现如下错误: ReferenceError Segmentation fault
17)progress_bar.js 正常
18)rect.js 出现如下错误: ReferenceError Segmentation fault
19)rich_text.js 正常
20)slider.js 显示正常,很难控制滑动块(很难选中滑动块)
21)spin_box.js 显示正常,当触摸控件时,出现如下错误: widget_factory_create_widget:164 iter != NULL ui_builder_default_on_widget_start: not supported type keyboard Assertion failed: !"not supported" (build/var/awtk/src/ui_loader/ui_builder_default.c: ui_builder_default_on_widget_start: 44) Aborted
22)tab_top_compact.js 显示正常,TAB按钮很难选中
23)time_now.js 出现如下错误: ReferenceError Segmentation fault
24)timer.js 正常
25)value.js 出现如下错误: ReferenceError Segmentation fault