You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Folder gets sorted as a file if it contains a dot: "." #3381
If I create a new folder (doesn't matter where) and the folder name contains a dot (e.g. "Dr. Schmidt") The Icon changes from a folder icon to a spreadsheet icon. It still behaves like a folder (e.g. you could click on it to enter) but it does not look like a folder any more (icon wise).
I can confirm this bug, with a slightly different symptom: in my case the
folder keeps its folder icon, but it is sorted as a file. A folder named
like Zeugnisse 2018 2.Halbjahr does not appear in the folder group at the
top of the list — it is sorted among the files by name. Renaming it to Zeugnisse_2018_2_Halbjahr (underscore instead of dot) immediately fixes the
sorting, which confirms the dot in the name is the trigger.
This strongly suggests the frontend derives the resource type (or extension)
from the file name instead of using the actual folder/file resource type.
German folder names commonly contain dots ("2. Halbjahr", "Dr. Schmidt"),
so this hits real-world naming conventions.
AFAIK the sorting and the selection of the icon happens client side. So I am transferring this to web.
Note: On the latest code (main as of today) am not able to reproduce the sort issue, but creating a Folder with the .txt extension will cause it to get the same icon as a .txt file. Is that really intended?
@micbar Sorry. I use the latest Docker-Compose Version OpenCloud 7.2.4 stable. Thank you for your working on this wonderfull project!
I only intend to sort first folders and second files. I have no issue with icons.
changed the title [-][BUG] Folder Icon changes if folder name contains a dot: "."[/-][+]Folder gets sorted as a file if it contains a dot: "."[/+]on Sep 16, 2026
AFAIK the sorting and the selection of the icon happens client side. So I am transferring this to web.
Note: On the latest code (main as of today) am not able to reproduce the sort issue, but creating a Folder with the .txt extension will cause it to get the same icon as a .txt file. Is that really intended?
It's not, I created a bugfix pr for that (it's a regression, as @phil-davis reported this had been fixed a while a go and is an issue again)
@gaedeke Thanks for the report, the initial issue has been fixed in the mean time, see #2843. So you will need to wait for the upcoming stable release.
Anyways, I noticed a strange behaviour on main, when sorting ASC: the folders will be grouped and be first in the list, if we change to DESC this behaviour will flip. IHMO this behaviour is not correct and folders SHOULD be always at first (as I know it from gdrive). Spawning @tbsbdr and @kulmann to decide
Activity
phil-davis commentedon Feb 5, 2026
Already reported in #1888
And fixed in PR #1889
So it should be fixed in the next release.
kedanli commentedon Feb 5, 2026
Did not see that, sorry. Thanks a lot though.
gaedeke commentedon Sep 13, 2026
I can confirm this bug, with a slightly different symptom: in my case the
folder keeps its folder icon, but it is sorted as a file. A folder named
like
Zeugnisse 2018 2.Halbjahrdoes not appear in the folder group at thetop of the list — it is sorted among the files by name. Renaming it to
Zeugnisse_2018_2_Halbjahr(underscore instead of dot) immediately fixes thesorting, which confirms the dot in the name is the trigger.
This strongly suggests the frontend derives the resource type (or extension)
from the file name instead of using the actual folder/file resource type.
German folder names commonly contain dots ("2. Halbjahr", "Dr. Schmidt"),
so this hits real-world naming conventions.
micbar commentedon Sep 14, 2026
@gaedeke Please always report the version you used, espacially if there was a report about that issue could be already fixed.
rhafer commentedon Sep 15, 2026
AFAIK the sorting and the selection of the icon happens client side. So I am transferring this to web.
Note: On the latest code (main as of today) am not able to reproduce the sort issue, but creating a Folder with the
.txtextension will cause it to get the same icon as a .txt file. Is that really intended?gaedeke commentedon Sep 15, 2026
@micbar Sorry. I use the latest Docker-Compose Version OpenCloud 7.2.4 stable. Thank you for your working on this wonderfull project!
I only intend to sort first folders and second files. I have no issue with icons.
[-][BUG] Folder Icon changes if folder name contains a dot: "."[/-][+]Folder gets sorted as a file if it contains a dot: "."[/+]AlexAndBear commentedon Sep 19, 2026
It's not, I created a bugfix pr for that (it's a regression, as @phil-davis reported this had been fixed a while a go and is an issue again)
AlexAndBear commentedon Sep 19, 2026
@gaedeke Thanks for the report, the initial issue has been fixed in the mean time, see #2843. So you will need to wait for the upcoming stable release.
Anyways, I noticed a strange behaviour on main, when sorting ASC: the folders will be grouped and be first in the list, if we change to DESC this behaviour will flip. IHMO this behaviour is not correct and folders SHOULD be always at first (as I know it from gdrive). Spawning @tbsbdr and @kulmann to decide
kulmann commentedon Sep 21, 2026
Thank you @AlexAndBear for fixing both issues.
I'm closing here now since all dev work is done and this repo is only tracking dev work, not releases (that would be customer support).