-
-
Notifications
You must be signed in to change notification settings - Fork 19.2k
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
[FR] WIP: MKS UI/TFT_LVGL_UI Updates & Fixes #18476
Comments
@rhapsodyv @thisiskeithb The following picture shows the problem that occurred after I updated the latest font. I need to modify the font offset in the code to solve this problem. The interface shown in the following picture is the normal interface displayed after I updated the old version of the font |
Sounds like a simple fix. There's still an issue with some special characters not being displayed. In your photos above, "franais" should be "français":
and "espaol" should be "español":
@rhapsodyv was able to update to LVGL 7.0 without modifying your fork. but I don't think they've tested special characters yet. |
Seem to me wrong way add lvlg issues to many files as y present. There should be one lvlg starter file instead of ultralcd.cpp which inicialize gui. |
Can you clarify what this means? This is a beta feature that is a work in progress. Expect frequent updates as this feature is updated and expanded to more hardware. |
Its not depend if beta of what stage it is, but all lcd issues should be only in /lcd dir. And marlin.cpp should call init gui and update gui. There cant be gui issues across all marlin files. It sucks me as hell on marlin. The reason is simple if y want to use another ui/gui, y get big stop by many ui issues in gcodes and in hundred files. I am now refresh work on it and seems to share some experimental working version till week. But i am always trouble with basic things on marlin. Dual Z motor not work on latest versions, so always need to solve basic things. |
@ftoz1: It sounds like you have a misunderstanding of how Marlin is organized and configured and those are not related to LVGL/this issue. For best results getting help with configuration and troubleshooting, please use the following resources:
|
Did you fixed the offset? What’s to commit to my branch? |
All the lvgl code is isolated in lcd folder. There’re only two from Marlin core: init and update loop. |
I am saying that, because original marlin cause many troubles by that. There are a lot of ui issues everywhere and i am stuck on it. If want keep marlin with open mind changeable ui, its good to keep file structure. |
@thisiskeithb and Italian is "Italiano" not "Italia" :-) |
I didn’t write the translations. I’m just pointing out the missing characters. |
@thisiskeithb you may think about a new job :-D |
What do you mean by that? |
It was a joke, you may think to start to be a translator, no offense |
Marlin is accepting pull requests, so feel free to correct translation errors. |
@thisiskeithb Thank you for your suggestion,I have submitted my changes. I haven't updated the graphics library to 7.0 yet, I think I will cooperate with @rhapsodyv to do this job well. |
How fast is approx draw page on nano with that? |
I think we can update the progress |
@makerbase-mks Is updating to LVGL 7.x still planned? They are up to version 7.6 now. |
several parts of the code for MKS_UI code calls "card." without checking sdsupport is actually enabled |
LVGL ui will not work without SDSUPPORT because it needs to loads the assets. Maybe we should put a sanity check to remember the user to enable it. |
makes sense, but then the blocks of code like "#if ENABLED(SDSUPPORT)" don't.... |
Sure... those blocks don't make sense... at least now. Maybe in the future, when we have a light version of the lvgl, without assets loading |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Bug Description
This is a continuation of discussion from PR #18438. Several issues still exist:
To-do
Complete
TFT_LITTLE_VGL_UI
toTFT_LVGL_UI
since it was renamed to LVGL - "Light and Versatile Graphics Library" in 7.0.TFT_LVGL_UI
to work with other boards/TFTs, especially those without much SPI flash (Chitu/Tronxy X5SA, etc.)My Configurations
This is a general issue with MKS's LVGL implementation, so it applies to all configs with
TFT_LVGL_UI_FSMC
/TFT_LVGL_UI_SPI
enabled.The text was updated successfully, but these errors were encountered: