Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

autoEdit Freezes when Editing Short Transcripts #63

Open
Sanchovilla opened this issue Mar 18, 2021 · 8 comments
Open

autoEdit Freezes when Editing Short Transcripts #63

Sanchovilla opened this issue Mar 18, 2021 · 8 comments

Comments

@Sanchovilla
Copy link

Describe the bug
I have been in the middle of editing a couple of transcripts (both about three pages long) and the program will lock up/freeze. I am able reload to the last save when it occurs. (sidenote: autoEdit is awesome!)

To Reproduce
This has worked a few time to reproduce the behavior:

  1. while editing a transcript. If I hit enter (to move to a new speaker in the transcript), without adding a space after the last word in the line I'm moving on from, it will freeze. It doesn't occur all the time but I have found it to pop up most frequently when doing this. Occasionally, if I manage to do this without it freezing, it will freeze when I hit the Save Button.

Expected behavior
autoEdit freezes completely. I can only access/interact with the menu at the top of the screen and not on the app. Reloading does solve the issue but all changes prior to freezing are lost.

Screenshots
If applicable, add screenshots to help explain your problem.

autoEdit3 Version 1.4.0

Desktop (please complete the following information):

Model Name: iMac
Model Identifier: iMac14,4
Operating System: Big Sur Version 11.2.3
Processor Name: Dual-Core Intel Core i5
Processor Speed: 1.4 GHz
Number of Processors: 1
Total Number of Cores: 2
L2 Cache (per Core): 256 KB
L3 Cache: 3 MB
Hyper-Threading Technology: Enabled
Memory: 8 GB
System Firmware Version: 430.0.0.0.0

Additional Note: I had the same exact issue when working on a newer model Dell Latitude Tablet (running windows) but I don't have access to its information although I was also running version 1.4.0

@Sanchovilla Sanchovilla added the bug Something isn't working label Mar 18, 2021
@pietrop
Copy link
Owner

pietrop commented Mar 18, 2021

Hi @Sanchovilla
Thanks for raising this, and for the detailed explanation, much appreciated!

I don't fully understand this part tho

If I hit enter (to move to a new speaker in the transcript), without adding a space after the last word in the line I'm moving on from, it will freeze.

Could you try and re-word it and/or maybe share a gif of it in action? (even without the crash, just to understand the behaviour that sometimes causes it)

@pietrop
Copy link
Owner

pietrop commented Mar 18, 2021

I suspect is an issue with the underlying component used to correct the transcript pietrop/slate-transcript-editor (see storybook) There's some alignment happening under the hood on save. and the alignment algorithm might have a 🐛 or two in some "edge cases" such as this one pietrop/slate-transcript-editor#43.

We are looking into it, as it's a pretty big inconvenience. but any help in being able to reproduce potential issues would be good.

@Sanchovilla
Copy link
Author

Oh yes of course, my apologies. My explanations leave much to be desired. I will see if I can do this with video to show you later today.

@pietrop
Copy link
Owner

pietrop commented Mar 18, 2021

That'll be great, thanks!
And yeah no worries, always hard to describe these steps etc..

I normally use this for gifs LICEcap it's easier to embed those in a post here on github, but video is also fine, if you have somewhere to host it etc..

@Sanchovilla
Copy link
Author

https://www.dropbox.com/s/wevf99tb4ijy4pb/Screen%20Recording%202021-03-18%20at%2012.59.31%20PM%202.mov?dl=0

Okay, here is short clip. I was having trouble recreating it but this time it occurred when I was trying to delete and move a word up to the line above it (about 10 seconds into the video). I'll keep trying to recreate the one I mentioned in my original issue.

@pietrop
Copy link
Owner

pietrop commented Mar 18, 2021

This is great, thanks, what are you doing at 7 to 9 seconds in ?

Screen Shot 2021-03-18 at 4 21 54 PM

Did you delete the I in Interaction and then pressed enter? and that's when it froze?

@Sanchovilla
Copy link
Author

Yes, in this case I deleted the Capital letter I, then hit delete again to move it up to the line above it and that is when it froze

@pietrop
Copy link
Owner

pietrop commented Mar 25, 2021

So this is a problem with the underlying slate-transcript-editor component underlying alignement module, so continuing it there pietrop/slate-transcript-editor#43 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants