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

[LVGL+Flow] Comparison of widget pointers is not handled correctly #669

Open
RamasyaR opened this issue Dec 17, 2024 · 1 comment
Open
Assignees
Labels
Milestone

Comments

@RamasyaR
Copy link

Describe the bug
When comparing widget pointers in different ways, the result is always false.

Screenshots
Снимок экрана от 2024-12-17 20-09-30
Снимок экрана от 2024-12-17 19-37-34
Снимок экрана от 2024-12-17 20-10-52

Desktop (please complete the following information):

  • OS: Debian
  • Version 12

** LVGL version (if used)**

  • 9.x

Additional context
The screenshots attached above show a container with a button inside, for which the "event bubble" flag is set. The expected behavior of my script:

  • If the button was pressed, then Event.getTarget will refer to the button, and Event.getCurrentTarget to the container, in which case some action must be performed.
  • If the container area in which there is nothing was pressed, then Event.getTarget and Event.getCurrentTarget will refer to the container and no action is required in this case.
@mvladic
Copy link
Contributor

mvladic commented Dec 17, 2024

Fixed.

mvladic added a commit that referenced this issue Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants