ZMYaro / paintz

A simple drawing app that runs in a web browser, designed to be an MS Paint substitute for Chromebooks and other Chrome OS devices. PaintZ is free, but please consider supporting development at https://ko-fi.com/ZMYaro or https://patreon.com/ZMYaro.
https://paintz.app
53 stars 11 forks source link

Ending a file name with a period adds an extra period before the file extension #218

Closed ZMYaro closed 3 years ago

ZMYaro commented 3 years ago

Steps to reproduce the behavior

  1. Open the Save as dialog.
  2. Enter a file name ending with a period (e.g, “example.”).
  3. The file extension is added with an extra period (e.g., “example..png” or “example..jpg”).

Expected behavior The file name should be appended using the existing period (e.g., “example.png” or “example.jpg”).

(Caught by David Martin.)

ZMYaro commented 3 years ago

Also confirm this expected behavior is mentioned in the comprehensive test plan.

Mattarouen commented 3 years ago

24

ZMYaro commented 3 years ago

@Mattarouen #24 appears to be unrelated to this issue. Did you mean to mention a different issue?

ZMYaro commented 3 years ago

Fixed in https://github.com/ZMYaro/paintz/commit/a572b62456438d34b36c109da370c7b062ebbccd. Test plan updated in https://github.com/ZMYaro/paintz/commit/1a41786bff2e524616a21973ccce717dd54cdbe7.