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

Fix crashing during resizing. #61

Closed
wants to merge 1 commit into from
Closed

Conversation

diylxy
Copy link

@diylxy diylxy commented Dec 18, 2023

I run this project on my computer today, hoping to integrate it into my project later, but I found this issue.
When I resize the window quickly for about 5 seconds, it crashes like this.
2023-12-18 230228
And it takes me about three hours trying to figure out what's wrong. Finally, I changed these lines of codes and unexpectedly soved this problem. So I opened this PR.

P.S. I also tried to comment ::lv_refr_now(CurrentDisplay);, but it doesn't work. The result is as follows.
2023-12-18 230917

Environment Information:
Windows 10 LTSC 10.0.19044
Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz
Microsoft Visual Studio Community 2022
Microsoft Visual C++ 2022
lvgl/lv_port_pc_visual_studio@master
lvgl/lvgl@0f9ee575
freetype/freetype@8f255c89
dlg@72dfcc85

@MouriNaruto
Copy link
Collaborator

#60 (comment)

Kenji Mouri

@MouriNaruto
Copy link
Collaborator

The new backend is merged in the LVGL mainline. And this repository is adapted for that.

lvgl/lvgl#5313

Kenji Mouri

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

Successfully merging this pull request may close these issues.

2 participants