Opened 7 years ago

Closed 7 years ago

#822 closed Bug Report (fixed)

GUI Values keep changing on their own

Reported by: Aurélien Owned by: David Robillard
Priority: blocker Component: Ingen
Keywords: Cc:

Description

Hello David,

There is a very strange bug in the SVN 4076 of Ingen.

After opening a LV2 plugin GUI (the default one coming from Ingen for plugin without GUI, or the one from the plugin itself), after changing one or two parameters values with the mouse, the values then keep chaging on their own.

The parameters seem to be changing on their own from the previous value to the new one, but I can't exactly be sure as they changed quite fast.

If you need any more information, please let me know,

Kind Regards, Aurélien

Change History (3)

comment:1 Changed 7 years ago by joeSeggiola

Same issue for me. As soon as I try to drag with mouse a the GUI slider for a value, it start to (apparently) randomly changing by itself continuously and very fast. It stops only when I click outside the plugin (in the patch, for de-select it) and then again click on it.

comment:2 Changed 7 years ago by Aurélien

Hi,

I'm trying to debug this issue and here are my findings so far. It looks like two events are calling each other.

When the GUI is opened and the mouse is used to change a properties value, the following happen:

NodeModule::value_changed

PluginUI::port_event

Port::value_changed

Port::on_value_changed

I believe that in the method Port::on_value_changed, the call to the method set_property is what creates the loop:

_app.engine()->set_property(model()->path(), world->uris()->ingen_value, _app.forge().make(fval));

So that's as far as I got, (hopefully) more to come,

Aurélien

comment:3 Changed 7 years ago by David Robillard

Resolution: fixed
Status: newclosed

Fixed in r4141.

Note: See TracTickets for help on using tickets.