4cat icon indicating copy to clipboard operation
4cat copied to clipboard

Option button disappears

Open dale-wahl opened this issue 2 years ago • 1 comments

Describe the bug I sometimes run into an odd glitch that causes the processor options to disappear. If you click the options cog to expand the options, but then minimize the parent option for some reason and re-expand it, the options will not appear and instead only show the play icon.

Original: image

Expanded options: image

After clicking collapsing and then expanding the "More..." button from the parent dataset: image Note that the "Extract Audio" processor now only has the play icon and no visible options. You can click the play icon and it will run with default options, but you cannot get the options back unless you reload/refresh the webpage.

For whatever reason using the "Collapse All" and "Expand All" button does not have the same effect and seems to remember the state properly.

dale-wahl avatar Jul 03 '23 13:07 dale-wahl

Ah, I think fourcat.js toggleButton function needs to switch the fa-play to fa-cog where applicable. Those found by $(target).find('*[aria-expanded=true]').attr('aria-expanded', false); as well. Or rather they should be turned to their original state since some never were cogs to being with...

dale-wahl avatar Dec 11 '24 13:12 dale-wahl