1.9b, Android - Attempting to load a file from a file manager deletes the file [FIXED 29.12.15]

Found a bug? Post it here.
Post Reply
User avatar
Saltbearer
Posts: 54
Joined: Thu Sep 04, 2014 2:18 am
Location: Caflirinoa
Contact:

1.9b, Android - Attempting to load a file from a file manager deletes the file [FIXED 29.12.15]

Post by Saltbearer » Mon Dec 28, 2015 10:16 am

I'm not sure if this is a recent thing or what, I generally only load from within the app. It seems preeet-ty bad.

When I select SunVox as the app to open a file (of any type) with from a file managing app, it opens a new project and attempts to load the file's raw data in a sampler. At this point, the file has already been deleted.

Any file type associations with the app seem to have been forgotten, if they were even there before.

User avatar
NightRadio
Site Admin
Posts: 2949
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: 1.9b, Android 5.0.1 - Attempting to load a file from a file manager **deletes the file**

Post by NightRadio » Mon Dec 28, 2015 11:27 am

You are right, it is a serious bug. Will be fixed in 1.9.1

User avatar
NightRadio
Site Admin
Posts: 2949
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: 1.9b, Android - Attempting to load a file from a file manager deletes the file

Post by NightRadio » Mon Dec 28, 2015 11:37 am

Although... I'm not sure... It works without file deletion on my Android-phone.
Two questions for you
1) What file manager do you use?
2) Where (which folder) are these files initially?

User avatar
Saltbearer
Posts: 54
Joined: Thu Sep 04, 2014 2:18 am
Location: Caflirinoa
Contact:

Re: 1.9b, Android - Attempting to load a file from a file manager deletes the file

Post by Saltbearer » Mon Dec 28, 2015 1:11 pm

1) ES File Explorer
2) This is interesting - I can successfully load a file from anywhere but nightradio.sunvox > files, including child directories of it. If I load a file, and a file of the same name exists in files, the one in files gets deleted.

User avatar
NightRadio
Site Admin
Posts: 2949
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: 1.9b, Android - Attempting to load a file from a file manager deletes the file

Post by NightRadio » Tue Dec 29, 2015 12:02 pm

ah, ok, thanks. Now i understand what is wrong.
Here is the algorithm of SunVox:
1) copy selected file to the internal SunVox directory nightradio.sunvox/files;
2) load it;
3) remove the copy.
So if the original file is in the same directory with the copy - the file will be removed completely.
I will fix it

User avatar
DigitalNematode
Posts: 55
Joined: Thu Dec 17, 2015 10:06 am
Location: Chicago

Re: 1.9b, Android - Attempting to load a file from a file manager deletes the file [FIXED 29.12.15]

Post by DigitalNematode » Wed Jan 06, 2016 10:12 am

Oh thank god, grrrr. Thought it was just me. Es wth root

Post Reply