osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.66k stars 1.02k forks source link

Limited number of Sub-Folders? #21051

Closed Rowin63 closed 1 week ago

Rowin63 commented 2 weeks ago

Description

I created a new Folder and wanted to move some other, existing, folders into it, as subfolders. I could move 19 existing folders into this new "main" folder, and now it is not possible to move any other folder into this new "main" folder.

Also it is not possible to move other folders into another new "main" folder. Like there is a limitation of subfolders. At this point a phone restart did not change anything.

Steps to reproduce

All my TET tracks are stored in a separate country-folder, like TET Andorra, TET Montenegro, TET XXX and so on. Now I wanted to create a TET "main" folder and move the existing country folders into it. That would be around 30 country-subfolders inside the main TET-folder.

I moved 19 country folders and now I cant move any other folder. I can mark/select it and tap "move to", but nothing happens.

Also it is not possible to move other folders as sub in another new main folder. Just nothing happens when selecting "move to".

Actual result

Long tap a folder in my places/tracks. Folder is selected. 3dots > move (at this point the app crashed right now) Again: 3dots > move > select the new "main" folder "TET" Nothing happens. Selected folder is not moved. Just nothing happens.

Expected result

move the selected folders into the selected main-folder, as sub-folders

Your Environment (required)

Adroid 13, +4.9.0 (2024-09-04)

Rowin63 commented 2 weeks ago

After this, I moved all the existing "TET country" folders by a file manager into the new TET "main" folder and all sub-folders are correctly displayed in Osmand (TET/country1, TET/country2, ...)

But it is not possible anymore to move any folder as a "sub" into another. Nothing happens.

Rowin63 commented 2 weeks ago

The app seems to be overloaded by moving that many tracks at once. It frequently crashes and the tracks don't show any details

Rowin63 commented 2 weeks ago

Since I moved the folders Osmands Logcat is very busy and the App is crashing every few minutes.

It´s an OOM error.

exception.log.txt

Rowin63 commented 2 weeks ago

There mus be something wrong with Osmands istallation. Though I deleted almost 90% of the tracks, the remaining ones are not processed anymore in a reasonable time. It takes minutes until the tracks data (time, lenght, ...) is diplayed in the track list. Moving 15 recorded tracks back into osmands directory takes more than 3 minutes until details are displayed.

Rowin63 commented 2 weeks ago

I fear I have to go for a fresh install.

Rowin63 commented 2 weeks ago

Did a fresh install and a step back to the +4.8.6 Tracks details are now processed without any problem and no OOM anymore.

But still i can´t move existing folders into another folder.

vshcherb commented 2 weeks ago

That need to be reproduced and fixed, probably moving to folder is very not optimized especially for large tracks

yuriiurshuliak commented 1 week ago

I attempted to reproduce the issue by creating a main folder and 30 subfolders, each containing 2-3 tracks. I successfully moved all subfolders into the main folder without encountering the problem you described.

To investigate further and try to reproduce your exact conditions, it would be helpful if you could export and share the subfolders you are trying to move. You can either attach the export to this issue or send it directly to support@osmand.net.

Additionally, we recommend trying the new beta version, which will be available tomorrow, as this issue might already be resolved in that update.