Bug #336

jcom.filter~ dumps list of filters twice

Added by Trond Lossius almost 11 years ago. Updated almost 11 years ago.

Status:ClosedStart date:2009-10-10
Priority:NormalDue date:
Assignee:Tim Place% Done:


Category:-Spent time:1.00 hour
Target version:Jamoma 0.5
Branch:master OS:


When the message gettypes is sent to jcom.filter~ the list of filters is dumped twice. If used to build an umenu, the menu contains all items twice.


#1 Updated by Trond Lossius almost 11 years ago

  • Assignee changed from Trond Lossius to Tim Place

OK, here's the result of further testing using the debugger:

We currently have 20 different filter units.

When gettypes is sent to jcom.filter~, and we enter the filter_gettypes() method (line 200 of jcom.filter~.cpp), the method TTGetRegisteredClassNamesForTags(v, TT("filter")); (line 209) returns a v of size 40, that contains the list of all filters twice.

I am not sure that I understand what goes on inside TTGetRegisteredClassNamesForTags(), so I'm assigning this bug to Tim for further inspections.

A simple "hack solution" would be to divide the v.size by 2, but this issue might have consequences elsewhere as well, so it's better that we solve it properly.

#2 Updated by Trond Lossius almost 11 years ago

  • Status changed from New to Closed

This problem seems to be solved now.

Also available in: Atom PDF