martinfabian / MFXlist

https://forum.cockos.com/showthread.php?t=248411
5 stars 1 forks source link

Clicking empty slot should open Add FX to track dialog... #9

Closed martinfabian closed 3 years ago

martinfabian commented 3 years ago

Currently, when clicking an empty slot the FX chain window opens, not the Add FX to track dialog. There seems to be no API for opening that dialog, though, but this should be looked into in more detail. Can it be worked around?

martinfabian commented 3 years ago

This has been fixed, but adds some issues:

  1. The track selection changes, this is necessary since that is the way that the FX browser knows which track to add to. fxlist does the same. But clicking an empty slot in the mixer does not change the track selection. Maybe store track selection before and then restore it after opening the FX browser?
  2. Clicking once opens the FX browser, clicking again closes it. MFX then gets the focus, and then the focus is stolen so no key strokes go to Reaper. And I see no way to query the FX browser window's state, or how to put it on openwin_list. Keeping track of the state myself is not a solution, as the window can be closed by ESC, Cancel, or upper right X. Also, when clicking OK in the FX browser, the FX chain window opens. Closing one again gives focus to MFX, and the focus is stolen.