jetperch / pyjoulescope_ui

Joulescope graphical user interface
https://www.joulescope.com
Apache License 2.0
75 stars 23 forks source link

Save image to file doesn't save #196

Closed romain145 closed 12 months ago

romain145 commented 1 year ago

Joulescope model

JS110

UI version

1.0.22

What OS are you seeing the problem on?

Windows 10

What happened?

When using the "save image to file" the file is not saved if the image is renamed and the ".png" extension is omitted. There are no errors, and the file is simply not saved (not even without the extension). Related to #81

What was expected?

.png extension should be automatically appended if missing from the file name

How to reproduce?

  1. Right click -> save image to file
  2. Rename the file, don't put an extension
  3. Save the file
  4. The file is nowhere to be found

Extra information

No response

mliberty1 commented 1 year ago

Thank you for reporting this @romain145 . The fix is already in main, and it will be in the upcoming 1.0.23 UI release.