wildskyf / TextareaCache

Browser Add-on: Automatically save the content in Textarea.
MIT License
67 stars 7 forks source link

App lags entire browser when opened, performance varries based on site (and how long you spend on it) #124

Closed mrabinovsky closed 2 months ago

mrabinovsky commented 10 months ago

Required:

Issue: The add-on lags so badly that I usually cannot access text history.

When I open the app, I first see a small blank window:
2024-01-23_11-28-02.

Several seconds later, the window expands but doesn't quite fit, this has been a theme: 2024-01-23_11-30-58.

Once the add-on opens, everything slows down. You can interact with the text, and the buttons below it work, usually. This is kind of funny because, for years, they did not; however, the history drop-down does not consistently work. When you click on the drop-down, one of two things happens:

1) Nothing happens no matter how long you wait. 2) Second later, sometimes as much as half a minute later, the drop-down will appear as a big list: firefox_2024-01-23_11-56-52

If you can get this far, sometimes you can select something, and sometimes you cannot. In addition, the add-on lag often causes the browser to lock up and occasionally hang. Just closing the add-on requires clicking outside of it and waiting as the browser hangs once or twice before it closes.

The strangest part is how bad it varies from website to website and, for some reason, how long you spend on that website. When I first started writing this half an hour ago, the add-on was non-functional. The more I opened and closed it, the more functional it became. In general, it seems to work better on Git Hub than the RMV website I was at before this, which triggered me to make this post.

I must confess I've been having UI issues for years, but with the frequency with which I use the addon, having access to the text box and the text history was good enough. Unfortunately, it is now broken beyond usefulness. I've been using this addon for so long that I can't tell you when it started, but I first noticed UI issues on my laptop at least four years ago (15" 4k display) and later on my desktop (24" 1080p display), and it has slowly gotten worse over time :(

GHolk commented 2 months ago

It will be very slow if the history size is large. Maybe #126 cause some user's history never get cleared. Please clean the history or update the add-on to v4.9.1 and try again.

If the problem was not resolved, please reopen this issue.