-
Notifications
You must be signed in to change notification settings - Fork 411
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
VID area blocked and slow on big text #5506
Comments
Fixed the lock issue. I don't think we can fix the slowness. |
Hope you can do something as I have actually reached the ceiling. The documents I am working on are more than 1MB and the area is quite unusable. |
@qtxie Commenting this scrollbar updating fixes the slowness issue. We need a better way to update the scrollbars in such case. Maybe only when a new row is created/deleted? Or better when the scrollbar receives the focus? There's also an excessive GC triggering caused by reactivity handling on that same event. It does not seem to affect UI performance, but it's still annoying to see a GC pass on almost every key stroke inside such overloaded |
Actually, the |
Temporary fix until object! gets a 'on-get event. Adds a `no-sync` flag to disable auto-sync of `/text` facet. Use `system/view/platform/update-text <face>` to force updating of `/text` facet with the GUI widget text content.
Pushed a fix in this branch. This is a proposed temporary fix until
I've tested it successfully with the above test code with following additions:
|
@dockimbel I think it's OK to do the changes. |
Here it works, the slowness has disappeared! |
Temporary fix until object! gets a 'on-get event. Adds a `no-sync` flag to disable auto-sync of `/text` facet. Use `system/view/platform/update-text <face>` to force updating of `/text` facet with the GUI widget text content.
Fix merged to master. Let us know if any regression on |
Vid Areas, with big text are initialy locked.
Also there is a great slowness in insertion and deletion operations
Gitter discussion
To reproduce
Run the following code
To unlock the area, simply insert a character with CTRL + V
Platform version
The text was updated successfully, but these errors were encountered: