eez-open / studio

Cross-platform low-code GUI and automation
https://www.envox.eu/studio/studio-introduction/
GNU General Public License v3.0
616 stars 101 forks source link

[LVGL] Application crashing when editing LVGL Dropdown Menu widget with screen applied style. #544

Closed lylezumbrun closed 2 months ago

lylezumbrun commented 2 months ago

Application crashes when editing a dropdown menu widget size has been added to a page with applied style.

To Reproduce Steps to reproduce the behavior:

  1. Add page and apply a screen style with the background and text color set
  2. Add a drop down menu and adjust the size of the drop down menu

Screenshots

Desktop (please complete the following information): Operating System: Linux Mint 20.1 Kernel: Linux 5.4.0-167-generic Architecture: x86-64

LVGL version (if used)

mvladic commented 2 months ago

I tried to follow your instructions on how to reproduce this problem but I was unable to crash the studio:

dropdown_crash

lylezumbrun commented 2 months ago

I have attached a video showing the error.

https://github.com/user-attachments/assets/a4e07e0e-2ebb-4057-b3ba-7e4999037fc3

mvladic commented 2 months ago

We are doing almost the same thing, so something else in your project is causing the crash. Can I see all style modifications in your "Dark Screen" style? Or, if you can send me your project so I can investigate more directly.

lylezumbrun commented 2 months ago

I have uploaded my project here: EEZ-Display-master.zip

mvladic commented 2 months ago

Thanks! Now I was able to reproduce the problem.

lylezumbrun commented 2 months ago

Thanks for you hard work! This software is really helpful!!!

mvladic commented 2 months ago

This is fixed now in the master branch. FYI Next version 0.17.0 will be released by Oct 1.