PrusaSlicer icon indicating copy to clipboard operation
PrusaSlicer copied to clipboard

Editing file name when sending to Prusa Connect for SL1s causes file extension match error

Open skellatore opened this issue 6 months ago • 1 comments

Description of the bug

When sending a file to a SL1s Printer via PrusaConnect, if you edit the file-name, it results in a error message saying: "File extension can be one of .gcode, .gco, .g, .bgc, .bgcode, .sl1, .sl1s, .m1, .bbf". This is despite the file extension being correctly set. Changing the file-extension to be ".sl" clears the error but then obviously fails because the extension is wrong. Removing the extension altogether also has same effect.

If the name is not changed/edited in any way, the error does not exist.

Project file & How to reproduce

  1. Slice a file for a SL1s using PS 2.8.0
  2. click "Send to Connect" button
  3. edit the file name - even delete one character from the beginning without changing the file extension at the end
  4. error appears and the confirm button is greyed out.

Screenshot showing unedited file name with correct file extension and no error: Screenshot 2024-07-31 095406

Screenshot showing edited file name with correct file extension and error: Screenshot 2024-07-31 095322

Screenshot showing edited filename with no file extension and no error: Screenshot 2024-07-31 095435

Checklist of files included above

  • [ ] Project file
  • [X] Screenshot

Version of PrusaSlicer

2.8.0+win64

Operating system

Windows 11

Printer model

SL1s 1.8.0-beta.0

skellatore avatar Jul 31 '24 02:07 skellatore