Notifications
Clear all

[Solved] Nested ComboBox

3 Posts
2 Users
3 Likes
697 Views
Robert.P
(@robert-p)
Reputable Member
Joined: 4 years ago
Posts: 293
Topic starter  

Hi, can I get some help with my issue? Unify crashes on my system when the ComboBox is nested too deep inside another ComboBox.

These are the steps to recreate:

1. INIT Patch
2. Insert ComboBox MIDI fx
3. Right click on ComboBox workspace and add another (nested) ComboBox MIDI fx
4. Double click the nested ComboBox to see its UI
5. Again, right click on just opened nested ComboBox workspace and add another (nested) ComboBox MIDI fx
6. Double click on that last added ComboBox...

... At this moment Unify crashes

Windows 10, Unify 1.5.0 running as VST2 plugin inside various hosts (older versions also crash in this scenario)


   
Quote
(@getdunne)
Illustrious Member Admin
Joined: 5 years ago
Posts: 4410
 

@robert-p

Well spotted, thanks!

This appears to be a bug in the ComboBox code. I can easily reproduce this here, but it may take some time to track down, because it's in code I didn't write myself. (ComboBox is derived from a code example for the JUCE framework.)

UPDATE: Found and fixed. As might be expected, the bug was in code I added to the original reference code, so the fault was mine!


   
ReplyQuote
Robert.P
(@robert-p)
Reputable Member
Joined: 4 years ago
Posts: 293
Topic starter  
Posted by: @getdunne

UPDATE: Found and fixed. As might be expected, the bug was in code I added to the original reference code, so the fault was mine!

Thank you!


   
ReplyQuote
Share: