Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attachment extension is lowercased for no reason #2685

Closed
dumblob opened this issue Apr 9, 2022 · 3 comments
Closed

Attachment extension is lowercased for no reason #2685

dumblob opened this issue Apr 9, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@dumblob
Copy link

dumblob commented Apr 9, 2022

  • Operating System (Linux/Mac/Windows/iOS/Android): Mac, Linux
  • Delta Chat Version: 1.26.0 (git: v1.25.0-11-g3114f3d3)
  • Expected behavior: the whole filename is untouched
  • Actual behavior: the extension of filenames is lowercased before sending
  • Steps to reproduce the problem:
  1. create file teST00.Rmd (yes, R language requires files to have upper case R in related extensions 😮)
  2. use DC desktop client to send the file to someone else
  3. see in the message feed that the file was sent as teST00.rmd (notice the lowercased r instead of uppercased R)

Same thing happened with .R files.

  • Screenshots: N/A
  • Logs: N/A

I don't know if this is only a DC Desktop issue or DC Rust core issue, but I wanted to start low - therefore first here 😉.

@r10s
Copy link
Member

r10s commented Apr 16, 2022

i just played around:

  • setting a draft with an .Rmd file is okay on android (tried wie share-to-delta) and already converts to lowercase on desktop (tried via drag'n'drop)
  • on sending, however, it is converted to lowercase on both, desktop and android

so, there is maybe a core issue plus some additional desktop issue :)

nb: the filename may be extended by a number, this is another, already known issue.

@r10s r10s added the bug Something isn't working label Apr 16, 2022
@Simon-Laux
Copy link
Member

probably only a core issue, there is no code that I know of that modifies the filename in desktop. in desktop the draft file is already saved in core and then displayed, so core had a chance to modify it.

@Simon-Laux
Copy link
Member

already filed in core, nothing desktop can currently do about it. not that this is an issue desktop could solve, but moving to resurrection non the less for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants