Gui.slider event leave not firing

Here we can discuss about the problem found
Monki
Posts: 42
Joined: Mon Feb 27, 2023 12:56 pm
Location: Berlin
Has thanked: 6 times
Been thanked: 6 times

Gui.slider event leave not firing

Post by Monki »

Hello everyone,

I have a problem with the gui.slider event, it works great with the Touch and Change option but Leave does not trigger an event when the slider is released, can someone check that. I have it with the module ESP32-4848S040 and the ESP32 -2432S028 tested.

Monki
Monki
Posts: 42
Joined: Mon Feb 27, 2023 12:56 pm
Location: Berlin
Has thanked: 6 times
Been thanked: 6 times

Re: Gui.slider event leave not firing

Post by Monki »

Hello, can anyone check this???
User avatar
cicciocb
Site Admin
Posts: 2041
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 436 times
Been thanked: 1342 times
Contact:

Re: Gui.slider event leave not firing

Post by cicciocb »

Sorry for the late answer but I didn't had the chance to test.
However I think that this event is not managed, at least not as you would like.
Monki
Posts: 42
Joined: Mon Feb 27, 2023 12:56 pm
Location: Berlin
Has thanked: 6 times
Been thanked: 6 times

Re: Gui.slider event leave not firing

Post by Monki »

Hello Francesco,

I'm a bit at a loss

But the function is also listed for the slider in the help file ????
grafik.png
You do not have the required permissions to view the files attached to this post.
User avatar
cicciocb
Site Admin
Posts: 2041
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 436 times
Been thanked: 1342 times
Contact:

Re: Gui.slider event leave not firing

Post by cicciocb »

Yes, but this is a generic information.

I'm not sure if the LEAVE event is enabled with the slider ..... I suppose don't because you raised the point :-)
Monki
Posts: 42
Joined: Mon Feb 27, 2023 12:56 pm
Location: Berlin
Has thanked: 6 times
Been thanked: 6 times

Re: Gui.slider event leave not firing

Post by Monki »

Francesco can you activate it,
It would be very useful for applications so that changing the slider value only calls the processing sub when the slider is released
User avatar
cicciocb
Site Admin
Posts: 2041
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 436 times
Been thanked: 1342 times
Contact:

Re: Gui.slider event leave not firing

Post by cicciocb »

Yes, I'll fix it.
User avatar
cicciocb
Site Admin
Posts: 2041
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 436 times
Been thanked: 1342 times
Contact:

Re: Gui.slider event leave not firing

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Tue Mar 12, 2024 12:16 pm Francesco can you activate it,
It would be very useful for applications so that changing the slider value only calls the processing sub when the slider is released
I've just updated the version 1.52.3 with the fix inside.
Can you try and let me know, please ?
Monki
Posts: 42
Joined: Mon Feb 27, 2023 12:56 pm
Location: Berlin
Has thanked: 6 times
Been thanked: 6 times

Re: Gui.slider event leave not firing

Post by Monki »

Hello Francesco,
First of all, thank you very much for the quick fis, you're doing a great job,
I gave you a small donation...
Transaction code
2NF29606CN858961C

Version 1.52.3
ESP32-2432S028 > Event is triggered
ESP32-4848S040 > Event is not triggered

Greetings Monki
User avatar
cicciocb
Site Admin
Posts: 2041
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 436 times
Been thanked: 1342 times
Contact:

Re: Gui.slider event leave not firing

Post by cicciocb »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Thu Mar 14, 2024 9:49 am Hello Francesco,
First of all, thank you very much for the quick fis, you're doing a great job,
I gave you a small donation...
Transaction code
2NF29606CN858961C

Version 1.52.3
ESP32-2432S028 > Event is triggered
ESP32-4848S040 > Event is not triggered

Greetings Monki
Thanks for your donation.
Yes, I implemented the event only for the GUI and not yet for the VGA.GUI.
If it works for you, I'll implement also for the other GUI
Post Reply