r/cubase • • 7d ago

PSA: JUCE framework bug causing Windows 11 File Explorer Rename Failure

For the past year or more I've experienced a random issue in Windows 11 where file or folder rename will be broken. When this happens, if I right click in Windows Explorer and choose "rename" or press F2, instead of getting the normal box where I can type a new name, there is nothing. If I log off and back on again, then renaming works again. Renaming from the command line or using another file manager works fine. It would drive me nuts when this happens.

Finally, it seems the mystery has been solved: a JUCE framework bug where plugins based on JUCE keeps eating hooks until eventually you can't rename files or folders anymore (it works using something like Power Rename or renaming from the command line, just not from the normal Windows Explorer rename feature).

https://github.com/juce-framework/JUCE/issues/1793

They just committed the fix to the JUCE framework 5 days ago, so it won't really fix the problem until the plugins that use JUCE are updated.

I made a tool to scan my system for plugins installed that were impacted by this, and the list of vendors is long:

Accentize, Acon Digital, Acustica Audio, Ample Sound, Arturia, Audible Genius, Audio Modeling, Audiomovers, Boz Digital Labs, Cherry Audio, Cinesamples (Musio), Deskew Technologies, discoDSP, Engine Audio, Fiedler Audio, GForce Software, IK Multimedia, JDFactory, KeySolutions, Koda, KORG, Kushview, Libre Wave, Lostin70s, Modartt, Orchestral Tools, PlugInGuru, Savant Audio Labs, Sonarworks, Soundpaint, Spectrasonics, Spitfire Audio, Surge Synth Team, TAL Software, Turing Opera Workshop (Cantai), Universal Audio, Yamaha

The more you use affected plugins, the more likely you will experience the issue.

None of the Steinberg plugins and Native Instruments plugins are affected according to the tool.

8 Upvotes

10 comments sorted by

2

u/Ducks_In_A_Rowboat 6d ago

Thanks for this. It looks like I should have hit this bug but I haven't. Only detail I can think of is that I am a mouse-centric user and I rename by clicking the File Explorer button. But maybe my projects just don't have enough JUCE.

1

u/mjducharme 6d ago

The issue also causes the rename button to not work (ex. Right click-> rename). It is not just the keyboard.

1

u/Ducks_In_A_Rowboat 6d ago

I don't use right-click. I use the button on the toolbar. That shouldn't matter but 30 years of software development tells me not to assume anything.

1

u/mjducharme 6d ago

Oh, I didn't even realize there was a button on the toolbar. Although what it breaks is the ability to get that text edit box up by any means. Next time I have that issue I will try that, but I expect the button on the toolbar won't work either in this case.

The problem increases in frequency if you open plugin windows (it appears to be displaying the window that uses a hook, and it gets amplified if the host crashes because the hook is not released then when closing the DAW. I believe there are only a small number of slots like 32 for the hooks.

1

u/Ducks_In_A_Rowboat 6d ago

I use AudioGridder, which is JUCE-based. I run my heavy hitter plugins in it. So I really should be eating through the available slots if there are only 32. Maybe I've just never renamed anything when the slots were blown. But it seems like I should have.

1

u/mjducharme 6d ago edited 6d ago

I haven't used AudioGridder, but I just installed it and used the scanner I vibe-coded to check for the issue. It appears to have the problem. Although not everything programmed with JUCE does (but most do). I'm not sure how much you open up the actual audiogridder program windows? I use Vienna Ensemble Pro which is similar on some ways, but there you rarely need to open the VE Pro plugin window itself, you do most of your work in the server window.

EDIT: Oh ChatGPT claims one slot is used regardless of how many times it is instantiated. So you would need that number of unique plugins open. Again it would be lower. So that explains why you never ran into it with audiogridder, it just counts as one by itself no matter how many you have open.

You should be able to reproduce the issue by opening up 25-30 GUIs for unique plugins in a single project. Or fewer if your host crashes so that the hooks are not released.

1

u/Ducks_In_A_Rowboat 6d ago

I do most of my work in the actual plugin window that AudioGridder is hosting. My guess is I have blown through the slots numerous times but have never renamed a file or folder before the slots were restored somehow. Or I've hit the bug once or twice and managed not to notice.

1

u/akumakournikova 6d ago

Thanks! I've experienced this as well on Windows 10 and never knew the cause. My workaround was to force quit Explorer in Task Manager so that Explorer refreshes itself.

2

u/mjducharme 6d ago

On Windows 11 restarting explorer.exe doesn’t fix it. Only a log off will clear it, making it more disruptive.

2

u/mindgoneawol 7d ago

I've had the folder rename bug issue as well, and it most commonly occurred when creating a folder from within Cubase or SpectraLayers (i.e. saving the project or creating a new location). The bug then propagated throughout the Windows session until system reboot.

Good job on identifying it, hopefully it'll get patched soon (although some of the instruments from some of those vendors get updated never).