openshot-qt icon indicating copy to clipboard operation
openshot-qt copied to clipboard

Text Titles Template issues - Keyboard lag and "not responding" message

Open Colorjet3 opened this issue 3 years ago • 6 comments

Describe the bug: Several issues to report

  1. Typing "Delay" in Text fields when keying( Keyboard lag) for all Title templates that allow text keying with a few exceptions.

Exceptions Creative commons1 - Still lags but not as bad as the others Creative commons2 - Still lags but not as bad as the others Film rating 1 - Still lags but not as bad as the others Film rating 2 - Still lags but not as bad as the others Film rating 3 - Still lags but not as bad as the others Film rating 4 - Still lags but not as bad as the others

  1. Bubbles1, Bubbles2, Post it, and Sunset exhibit this behavior Very delayed and when you click anywhere in the window it goes into "Not Responding" state after trying to type in line 1, line 2, etc. If you wait long enough it recovers from "Not responding" and you can continue typing again but with the same symptoms.
  2. Go to Title | Titles and select any template.
  3. Click on a text field (line 1, line2, etc.) and you will notice the keyboard lag.

Steps to reproduce the behavior: Situation 1 - keyboard lag only

  1. Go to Title | Titles and select any template.
  2. Click on a text field (line 1, line2, etc.) and you will notice the keyboard lag.

Situation 2 - keyboard lag and "Not Responding". This applies to Bubbles1, Bubbles2, Post it, and Sunset.

  1. Go to Title | Titles and select any template.
  2. Click on a Line 1 and start typing. You will notice a delay.
  3. Not knowing what is happening click on Line 2 and try typing something. Nothing happens.
  4. You hover over that window contemplating what is going on.
  5. You click a few times on the window in hopes it responds and you will notice the "Not Responding".
  6. You wait a bit and it comes back.
  7. You can continue completing your text input but will continue the same issue.

Expected behavior: I expect no lag during keyboard input. I expect no "Not responding" message during keyboard input.

System Details:

  • OpenShot Version 2.6.1-dev, libopenshot: 0.2.7-dev, Openshot-v2.6.1-dev-daily-8945-3c8dc71b-2b8b05c7
  • Operating System / Distro: Windows 10 with the latest updates
  • Windows 10 with 1TB NVMe, Nvidia GeForce 2060 w/6GB RAM, and 32GB RAM, AMD Ryzen 7 3700x 8-Core processor

Log Files: If you are experiencing a crash, please collect and attach logs of the problem. Log files can be found in the .openshot_qt folder in your user home directory. Log files over 2 MB in size will need to be compressed, please attach a ZIP file instead of the raw logs.

No crashing

Exception / Stacktrace: If you are experiencing a crash or strange output on the command line, please attach a small snippet of the exception here, but please keep it as small as possible (for readability).

Screenshots: (Optional) If applicable, add screenshots to help explain your problem. To include screenshots, copy/paste them here, drag the image(s) into this form, or click the link below this edit field to load images saved to your computer. All images are public, so please don't post screenshots containing personal information.

Colorjet3 avatar Dec 31 '21 19:12 Colorjet3

I got hit by this as well, I think in my case the computer is not fast enough to render a preview after every key stroke in the title field.

roelandschoukens avatar Feb 13 '22 04:02 roelandschoukens

Hm... I saw the lag, but not the error message. Looks like we need to either find a way to preview the svg faster, or add a wait, so we don't preview until the user hasn't typed for a second or more. Thanks for pointing this out!

JacksonRG avatar Feb 14 '22 17:02 JacksonRG

I tested this again today, using build #9122, and experienced both the lag and the "not responding". Use the either Bubbles 1 or Bubbles 2 template. Type a sentence in Line 1 or Line 2 and you will see a very long delay. If you get impatient, like most users will, and click in the text field not knowing why things are getting delayed then OpenShot will go into "Not Responding" mode. If you wait long enough it will eventually come back with the text you typed. Let me know if you would like a video of this so you can see what I am experiencing.

Colorjet3 avatar Feb 14 '22 18:02 Colorjet3

Ok. I just got the "not responding" by trying with Bubbles 1. Very odd. We'll take a look at the svg rendering. But I'm guessing that's a library we're importing, and it's out of our hands. So what we could do is keep the editor from waiting on the svg to render.

JacksonRG avatar Feb 14 '22 21:02 JacksonRG

Sounds good @JacksonRG .

Colorjet3 avatar Feb 14 '22 21:02 Colorjet3

Thank you so much for submitting an issue to help improve OpenShot Video Editor. We are sorry about this, but this particular issue has gone unnoticed for quite some time. To help keep the OpenShot GitHub Issue Tracker organized and focused, we must ensure that every issue is correctly labelled and triaged, to get the proper attention.

This issue will be closed, as it meets the following criteria:

  • No activity in the past 180 days
  • No one is assigned to this issue

We'd like to ask you to help us out and determine whether this issue should be reopened.

  • If this issue is reporting a bug, please can you attempt to reproduce on the latest daily build to help us to understand whether the bug still needs our attention.
  • If this issue is proposing a new feature, please can you verify whether the feature proposal is still relevant.

Thanks again for your help!

stale[bot] avatar Sep 21 '22 11:09 stale[bot]