Go Back   Cockos Incorporated Forums > Projects > Deprecated REAPER issue tracker > Closed Issue

VST generic UI view: values not refreshed Issue Tools
issueid=1438 11-02-2009 05:51 AM
Mortal
VST generic UI view: values not refreshed
VST generic UI view: values not refreshed when updated on plug side

VST generic UI view: param values not refreshed in the GUI when updated on plug side (e.g. when an IPlug calls InformHostOfParamChange()).
See http://forum.cockos.com/showthread.php?p=398773

For the record (Prio 9)
Issue Details
Issue Type Closed Issue
Project Deprecated REAPER issue tracker
Category GUI and graphics
Status Live With It For Now
Priority 9
Affected Version 3.13
Closed Version (none)
Yes votes 1
No votes 0
Assigned Users (none)
Tags (none)

11-02-2009 07:46 AM
Administrator
 
Sorry, can you explain the bug a bit more? Do you have a particular plugin (compiled :) ) that demonstrates the problem?
Reply
11-02-2009 08:01 AM
Mortal
 
sure, here it is.

This is an extended plug that turns track controls into FX parameters
=> Reproduction:
- put this VST on a track
- VST => Reaper update: change volume from the VST (one of its parameters)
=> OK: volume updated in reaper
- Reaper => VST update: change the volume of the related track
=> GUI KO: the VST detects the change and update its "volume" FX param, however you have to click the "UI" button to see this change in the generic "UI"

This is an IPlug instance (a VST framework a cool guy have made) => the VST informs Reaper it changes the param value with:

Code:
	IGraphics* gui = this->GetGUI(); 
	if (gui)
	{
		gui->SetParameterFromPlug(_prmIdx, _value, false);

	}
	GetParam(_prmIdx)->Set(_value);
	InformHostOfParamChange(_prmIdx, _value);
Remark: I've unplugged the GUI in this build, but with its own GUI, everything is OK
Reply
11-02-2009 08:45 AM
Administrator
 
Ah I see. This is really corner-case behavior, it is quite unusual for a plugin to change its parameters without the user doing anything on the plugin. It may be tricky to handle, because we don't want to double-update if the user moves a slider.
Reply
11-02-2009 08:51 AM
Mortal
 
schwa, I think I can "live with it"...
(I reported it 'cause it's OK with a "true" GUI, I was surprised the "generic UI" doesn't behave the same)

[edit] issue now closed (live with it), attached plug removed...
Reply
08-06-2010 08:41 AM
Mortal
 
For the record, this is doable from the plug: http://forum.cockos.com/showpost.php...39&postcount=9
Reply
Reply

Issue Tools
Subscribe to this issue

All times are GMT -7. The time now is 04:22 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.