-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
Dialog with menu items render issues #324
Comments
Thanks for the detailed report. As soon as I get the card layout and Unicode beta sorted I’ll have a look. I think it is because the item is maybe a pixel too big and the way rendering works is to ensure the item is not obscured from view. I’ll have to try this case myself. |
I can help with getting more information if needed. Just let me know. |
This is possibly a little complex, I think what's happening is that the renderer is calculating the row order before the item is added somehow, or not properly taking into account the added item. I think I've seen this before but could not recreate it, this seems easier to reproduce, so I'll take a good look at this after 3.2 and debug exactly what's causing it. |
OK, if there is a way how I could help, e.g. by testing your changes, let me know. |
Part 1 of the detangling of the rendering layer is now completed. I've basically taken out all attempts at lazy loading of rendering order, as I'm not sure what good they actually did anyway. IE if something changed and the rendering order needed to change, it needed to change, nothing could change that, and it added a lot of complexity. |
Part 2 is now done as well, I'm going to open a discussion around this to explain the changes and rationale. |
I'm going to leave this open, but I believe that if you were to use the latest master version of the library there is a very good chance many of these rendering issues may already be fixed. |
@vzahradnik - can you check if all the issues are fixed in 4.1.1 library? If there's nothing outstanding please close. |
Hi Dave, I will. But I don't have the development board from the project where I found that issue at hand. Let's leave it open and as soon as I will be able to test it out, I will update/close this issue. Thanks! |
So in short, most rendering issues are now fixed, but the card layout issue you saw with a later item wrongly showing first is probably because you started your grid positions at row 1 instead of row 0. You should only start at row 1 when there is a title, otherwise, row 0 will be unoccupied and taken by the first item that does not have a grid row. I'm actively updating documentation at the moment and will make that clearer. Going to close for now, please reopen if you recreate any of the issues |
Describe the bug
I implemented a custom multiline dialog following this thread. I have observed two issues:
https://www.youtube.com/watch?v=9fgybk6Pqb0
Commerical or Personal use
Commercial use.
To Reproduce
Steps to reproduce the behavior, if a UI issue please detail all steps and include an example project if needed.
If a library issue provide whatever is needed in order for me to quickly identify the cause.
**Embedded environment
Custom HW board with ESP32 and U8G2 monochrome display (
U8G2_SSD1309_128X64_NONAME0_F_HW_I2C
).The text was updated successfully, but these errors were encountered: