Skip to content
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

页面切换到3D 正方形后回不了SystemInfos页面 #19

Open
bt5-coder opened this issue Nov 28, 2021 · 2 comments
Open

页面切换到3D 正方形后回不了SystemInfos页面 #19

bt5-coder opened this issue Nov 28, 2021 · 2 comments

Comments

@bt5-coder
Copy link

bt5-coder commented Nov 28, 2021

zhihui你好,

感谢你的创作和工作,我已经把软件移植到M5 Stack,目前遇到一个小问题,不知道是不是一个Bug。
页面管理众,第一次从SystemInfos 切到 Scene 3D,再切回到SystemInfos,一切ok, 当再次按下按钮切到 Scene 3D之后,无论怎么按按键都切不回SystemInfos 界面,界面一直显示是Sense 3D的图像,但此时按键log告诉我已经在SystemInfos onEvent里面了。

我单独拉出template和Scene 3D,按照Push - > Pop操作,一样存在问题 ,切一次页面后,停留在template,无法再切入Scene 3D。
不知道是不是页面管理的框架有问题。
本来想再模拟器上来验证,编译了你的代码,应该是路径有问题,我得弄一下。

不知道你的Peak上是否正常?

@bt5-coder
Copy link
Author

Capture
我在模拟器上也可以复现,错误显示见上图。

@spdffxyp
Copy link

最近也遇到了整个问题,解决方案如下:

在Scene3DView::Create函数中删除
lv_indev_set_group(lv_get_indev(LV_INDEV_TYPE_ENCODER), ui.group);

在Scene3D::onViewWillAppear函数中增加
lv_indev_set_group(lv_get_indev(LV_INDEV_TYPE_ENCODER), View.ui.group);

zhihui的Scene3D类是个半成品,里面还有别的坑,还在学习中。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants