simon-knuth / scanner

An all-in-one scanner app built for the Universal Windows Platform

Home Page:https://simon-knuth.github.io/scanner/index

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rename file - show extension that will be added

Jawvig opened this issue · comments

Is your feature request related to a problem? Please describe.
When I rename a scan by using the rename icon above the preview pane, if I type in "new-filename.pdf" I end up with a file called "new-filename.pdf.pdf".

Describe the solution you'd like
Whilst it's a mistake I'll only make once, I don't believe I would have made it if there had been read-only text to the right of the text box that contained the file extension, i.e. ".pdf".

Describe alternatives you've considered
Another option would be to do the same as the Windows "Save As" dialog box. This ignores any typed in extension if it matches the type of the extension it is trying to save. E.g. in Notepad if you type "Test" or "Test.txt" when saving a new file it will name the file "Test.txt", but if you type "Test.abc" it will name the file "Test.abc.txt".

commented

Yeah, that's a regression introduced in the v3.0 update. I even accidentally stumbled upon the forgotten TextBlock in the UI just a few days ago. I'll restore this in the next update.

commented

I re-implemented this in the latest v3.1.1 release. For more details see here.