Dragging and dropping a file into Audacity in Windows locks up Explorer

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
kuchikirukia
Posts: 14
Joined: Sun Aug 04, 2019 6:54 am
Operating System: Windows 10

Dragging and dropping a file into Audacity in Windows locks up Explorer

Post by kuchikirukia » Sun Aug 04, 2019 10:35 am

Windows 10: Drag and drop a file into Audacity and it's locked up until it's done loading.

That shouldn't happen.

steve
Site Admin
Posts: 80326
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Dragging and dropping a file into Audacity in Windows locks up Explorer

Post by steve » Sun Aug 04, 2019 10:55 am

Which version of Audacity?
How many cores does your CPU have?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

kuchikirukia
Posts: 14
Joined: Sun Aug 04, 2019 6:54 am
Operating System: Windows 10

Re: Dragging and dropping a file into Audacity in Windows locks up Explorer

Post by kuchikirukia » Thu Aug 08, 2019 6:24 pm

2.3.1

4 core/8 thread i7 4790.

It does this:

https://i.postimg.cc/tC8QSr9d/1.png
https://i.postimg.cc/T3m8ZrPz/2.png

I'm using Clover to add tabs to Explorer.

steve
Site Admin
Posts: 80326
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Dragging and dropping a file into Audacity in Windows locks up Explorer

Post by steve » Thu Aug 08, 2019 6:28 pm

kuchikirukia wrote:
Sun Aug 04, 2019 10:35 am
Windows 10: Drag and drop a file into Audacity and it's locked up until it's done loading.
What's "locked up", Audacity or something else?
What exactly do you mean by "locked up"?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

kuchikirukia
Posts: 14
Joined: Sun Aug 04, 2019 6:54 am
Operating System: Windows 10

Re: Dragging and dropping a file into Audacity in Windows locks up Explorer

Post by kuchikirukia » Thu Aug 08, 2019 6:34 pm

Nothing can be done in that Explorer tab until the file is done loading. No files can be selected/opened in Explorer and the "move" icon of the drag-and drop stays in the front of every window.

Just installed 2.3.2 and it's the same there as well.

steve
Site Admin
Posts: 80326
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Dragging and dropping a file into Audacity in Windows locks up Explorer

Post by steve » Fri Aug 09, 2019 12:17 pm

That's because the thread is busy.
If you need to use the file browser while Audacity is reading a file, open a new file browser window "in a new process" before you start the import. The window that you dragged from will still be busy, but the new window will still be usable (because it's running as a separate process).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

kuchikirukia
Posts: 14
Joined: Sun Aug 04, 2019 6:54 am
Operating System: Windows 10

Re: Dragging and dropping a file into Audacity in Windows locks up Explorer

Post by kuchikirukia » Sat Aug 10, 2019 2:42 am

Why is Audacity the only program that acts this way? I can drag and drop into Aegisub without this issue.

kozikowski
Forum Staff
Posts: 68653
Joined: Thu Aug 02, 2007 5:57 pm
Operating System: macOS 10.13 High Sierra

Re: Dragging and dropping a file into Audacity in Windows locks up Explorer

Post by kozikowski » Sat Aug 10, 2019 5:34 am

Why is Audacity the only program that acts this way?
Because it's the only one that's not a corporation. Audacity is produced to work on plain versions of each of three operating systems by a limited development staff. If you have a unicorn in one of those three, then you may get odd results.

Koz

kuchikirukia
Posts: 14
Joined: Sun Aug 04, 2019 6:54 am
Operating System: Windows 10

Re: Dragging and dropping a file into Audacity in Windows locks up Explorer

Post by kuchikirukia » Sat Aug 10, 2019 12:52 pm

Aegisub isn't a corporation and is multiplatform. It's free and open source so you can look to see how they do it. It seems to open new msvcr120.dll processes.

I can drag and drop into a ffmpeg output.wav batch file and it doesn't lock up, so if you're using ffmpeg to convert it doesn't seem like this should be insurmountable.

steve
Site Admin
Posts: 80326
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Dragging and dropping a file into Audacity in Windows locks up Explorer

Post by steve » Sat Aug 10, 2019 1:20 pm

kuchikirukia wrote:
Sat Aug 10, 2019 2:42 am
Why is Audacity the only program that acts this way?
My guess would be that that wxWidgets is using the native file browser process to read the file, rather than using the file browser to pass only the name and location of the selected file, AND, the file browser in Windows 10 only runs a single thread unless you create a new window as a new process. I normally use Thunar file browser on Linux, which does not have this problem, so I'm not able to test.

Is this actually a "problem" for you, or are you just curious about why you see this behaviour?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply