digital-paper-edit-electron icon indicating copy to clipboard operation
digital-paper-edit-electron copied to clipboard

App crashes after deleting text from transcript

Open Jswallow7 opened this issue 3 years ago • 2 comments

Describe the bug While Editing a transcript that was generated via Mozilla Deep Speech, I will delete words that have been repeated as such: "It's been about twenty five years. years. years."

When I delete the 2 extra instances of "years." and then click the SAVE button, the UI freezes. I cannot click out of the project or select new text. The Save button is frozen red after clicking it.

Whenever I quit the software and reopen, there are even more instances of the word "Years." duplicated another 4 more times. This increases after every attempt and the app will freeze every time I try to do this.

Screenshots image

Desktop (please complete the following information): Model Name: iMac Model Identifier: iMac15,1 Processor Name: Quad-Core Intel Core i7 Processor Speed: 4 GHz Number of Processors: 1 Total Number of Cores: 4 L2 Cache (per Core): 256 KB L3 Cache: 8 MB Hyper-Threading Technology: Enabled Memory: 32 GB Boot ROM Version: 430.0.0.0.0 SMC Version (system): 2.23f11 System Version: macOS 10.15.7 (19H524) Kernel Version: Darwin 19.6.0

  • Browser: Safari
  • Version 14.0.3

Jswallow7 avatar May 18 '21 17:05 Jswallow7

This is what it looks like after opening after the above frozen screenshot: image

Jswallow7 avatar May 18 '21 17:05 Jswallow7

Sorry about that @Jswallow7 It's an issue with the underlying transcript editor component (pietrop/slate-transcript-editor) , and more specifically the alignment module pietrop/stt-align-node.

The good news is that I think I might have found a fix. https://github.com/pietrop/stt-align-node/pull/8

I just pushed a new version, 1.6.0 should be available in the release section shortly 🤞

Let me know if you get a chance to try it out and run into any issue.

pietrop avatar May 19 '21 19:05 pietrop