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

moving instance downward with arrow key slowdown #8145

Open
F3der1co opened this issue Jul 30, 2024 · 5 comments
Open

moving instance downward with arrow key slowdown #8145

F3der1co opened this issue Jul 30, 2024 · 5 comments
Assignees

Comments

@F3der1co
Copy link

F3der1co commented Jul 30, 2024

Problem description

When moving an instance downward using the arrow keys the editor lags. Moving it to the right, left or up doesn't cause that issue.

Attach a .c3p

movingDownInstanceBar.zip

Steps to reproduce

  1. make sure instance bar is visible (instance bar makes lag it worse, but it doesn't seem to be the real cause)
  2. select an instance
  3. hold the down arrow key

Observed result

editor lags

Expected result

editor stays smooth (like when pressing any of the other directions

More details

IMPORTANT: while in this case the problem gets worse when the instance bar is open, in my main project the problem also happens when the instance bar is closed.
It's so odd that it only happens with down bur normal mouse dragging or other arrow directions work smoothly. So to me it seems like down iterates through many instances, maybe all layouts.

Affected browsers/platforms:

First affected release:

System details

View details

PASTE HERE

@DiegoScirra
Copy link
Collaborator

I can't reproduce this in the example project. The four directions use the same code, so if anything is wrong, all of them should be doing the same thing.

Maybe a more complex project?

If anything could be slowing down is in the case of having a complex hierarchy (many levels deep) which in turn is a template and itself has a lot of replicas. Then moving some part of the template might be slow when it tries to update the corresponding part of all the replicas. That's just a guess though.

I though this might be related to #8067, but that one only affects relatively deep hierarchies.

@F3der1co
Copy link
Author

F3der1co commented Aug 19, 2024

There is no hierarchy in this repro.
here you can visually see the slowdown (its smooth in all direction except down), it also shows up in the chrome performance profiler. (the mouse movement is just me showing which direction I am going to press)
Really weird that it does not reproduce for you. I'll ask around or try on other devices to see if it only happens for me.

Downperf.mp4

@F3der1co
Copy link
Author

F3der1co commented Aug 19, 2024

It seems to only reproduce for me in chrom (I'm on 127.0.6533.120). Edge works fine.
I tried resetting chrome but it didn't fix it. I'll investigate further

@DiegoScirra
Copy link
Collaborator

Did you try resetting everything when you type chrome://flags/ in the address bar?

@F3der1co
Copy link
Author

I reset chrome flags as well and still have this issue.
But I guess if it's just happens for me I understand that there isn't much you can do :/

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