You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When having multiple segments, deleting one of them results in broken segment configuration with one exception: if it is the last segment that is deleted.
To Reproduce Bug
I tested like this on a 16x16 matrix, setting-up 3 overlapping segments:
Segment 0: initial segment is 16x16
Segment 1: overlapping segment 8x16 (start at x=0)
Segment 2: overlapping segment 8x16 (start at x=8)
setup any FX you like, I used "Black Hole" on all three segments
delete the middle segment -> the last segment gets broken and has to be deleted before it can work again
Expected Behavior
deleting a segment should not mess up other segments, it should be properly handled.
Install Method
Binary from WLED.me
What version of WLED?
Not working on 14.4 and 15 B7
Which microcontroller/board are you seeing the problem on?
ESP32-C3
Relevant log/trace output
No response
Anything else?
No response
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
I stumbled upon this when working on the new memory management for the particle system. When deleting the middle segment, there is a particle memory request (which is done when initializing a new FX i.e. call==0) with a segment of nonsensical size of x=0, y=16 which I confirmed is created by deserializeSegment calling the segment setUp() function. So the root cause may be even coming from the UI or incorrect handling of the UI decoding.
What happened?
When having multiple segments, deleting one of them results in broken segment configuration with one exception: if it is the last segment that is deleted.
To Reproduce Bug
I tested like this on a 16x16 matrix, setting-up 3 overlapping segments:
setup any FX you like, I used "Black Hole" on all three segments
delete the middle segment -> the last segment gets broken and has to be deleted before it can work again
Expected Behavior
deleting a segment should not mess up other segments, it should be properly handled.
Install Method
Binary from WLED.me
What version of WLED?
Not working on 14.4 and 15 B7
Which microcontroller/board are you seeing the problem on?
ESP32-C3
Relevant log/trace output
No response
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: