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
A dot in a file name that isn't an extension hides the start of the name #4364
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
A file name with a dot that isn't an extension, e.g. Release notes v1.2 for customers and partners final draft, shows only the text after the dot in the file lists (table, tiles, search, shares). The start of the name is hidden.
The cause is deeper than the list: extractExtensionFromFile in packages/web-client/src/helpers/resource/functions.ts treats everything after the last dot as the extension, so buildResource sets extension to 2 for customers and partners final draft. That wrong extension then feeds everything using it (name display, rename preselection, icons, app matching). In ResourceName.vue the "extension" part can't shrink, so the basename collapses to 0px.
Reproduction Steps
Upload a file named Release notes v1.2 for customers and partners final draft
Look at its row in Personal (table or tiles, especially on a phone), in search results or in Shares
Expected Outcome
The name starts with "Release notes v1…" and is truncated at the end. Text after a dot that can't be an extension isn't treated as one.
Actual Outcome
The row shows ".2 for customers and partne", cut without ellipsis, the start of the name isn't visible.
Activity