294 Star 1.6K Fork 386

GVP合宙Luat / LuatOS

 / 详情

[🐛Bug]: lvgl的lvgl.obj_set_hidden()方法没有生效

待办的
创建于  
2024-01-19 11:27

描述一下这个bug / Describe the bug

就是我想把lvgl的图片给隐藏,切换页面的时候再显示,用这个方法却没有显示效果,但是图片的控件却存在

复现步骤 / To Reproduce

就是我想把lvgl的图片给隐藏,切换页面的时候再显示,用这个方法却没有显示效果

如果正常,应该是什么样 / Expected behavior

正常调用方法lvgl.obj_set_hidden(img, false)就可以显示图片

截图 / Screenshots

屏幕截图

日志 / Logs

[2024-01-19 11:19:06.381][000000000.483] luat_pm_get_poweron_reason 192:ap 0,cp 0
[2024-01-19 11:19:06.395][000000000.485] I/user.wakeup state 0 0 0
[2024-01-19 11:19:06.430][000000000.543] I/user.status1 0
[2024-01-19 11:19:06.448][000000000.544] D/lcd ic support: ili9341
[2024-01-19 11:19:06.879][000000001.162] D/lvgl w 240 h 320 buff 3200 mode 1
[2024-01-19 11:19:06.890][000000001.168] I/user.lvgl true
[2024-01-19 11:19:07.066][000000001.349] luat_pm_get_poweron_reason 192:ap 0,cp 0
[2024-01-19 11:19:07.144][000000001.427] D/mobile CSCON 1
[2024-01-19 11:19:07.711][000000001.986] D/mobile cid1, state0
[2024-01-19 11:19:07.718][000000001.988] D/mobile bearer act 0, result 0
[2024-01-19 11:19:07.727][000000001.989] D/mobile NETIF_LINK_ON -> IP_READY
[2024-01-19 11:19:07.812][000000002.100] D/mobile TIME_SYNC 0
[2024-01-19 11:19:17.793][000000012.083] D/mobile CSCON 0
[2024-01-19 11:21:59.184][000000173.470] I/user.1 1
[2024-01-19 11:21:59.341][000000173.630] pass
[2024-01-19 11:21:59.528][000000173.815] I2C_MasterSetup 305:sck 130,setup 32
[2024-01-19 11:21:59.557][000000173.832] I/user.湿度 温度 48.1 21.2

PACK包版本 / Version

1108

验证

  • 检查过该问题,之前没有人提过 / Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • 提供了最小可复现工程或详细的复现步骤,确保开发者可以复现 / The provided reproduction is a minimal reproducible example of the bug.
  • 已经提供了完整的报错信息、日志、截图,没有经过删减。

评论 (0)

cxjzl 创建了任务
cxjzl 修改了描述
展开全部操作日志

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(1)
8222162 cxjzl 1642666461
Lua
1
https://gitee.com/openLuat/LuatOS.git
git@gitee.com:openLuat/LuatOS.git
openLuat
LuatOS
LuatOS

搜索帮助