brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

[CLOSED] Poor scrolling performance in project panel sometimes #725

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by peterflynn Tuesday Apr 24, 2012 at 20:25 GMT Originally opened as https://github.com/adobe/brackets/issues/730


  1. Get a vertical scrollbar in the project panel (in my case, I opened brackets-app/brackets as the root folder, then expanded src, test, src/document, and src/editor... and added DocumentCommandHandlers to the working set)
  2. Click on the scrollbar thumb and slowly drag down

Result: Display updates less than once a second -- sometimes it doesn't update at all until you get to the bottom, then scroll position jumps from initial position all the way to bottom of viewport.

This does not repro with the sprint-6 build -- so it's a regression.

This repros before NJ's "unobtrusive scrollbars" work, though (e.g. in 7b94bb3) -- so presumably it's due to project panel layout changes.

Does not happen when scrolling with mousewheel -- only while dragging thumb.

Repros on my newer Win XP machine but not on my older Mac machine... so I'm marking as Win-only.

core-ai-bot commented 3 years ago

Comment by peterflynn Tuesday Apr 24, 2012 at 20:28 GMT


If I drag very slowly it does update smoothly. This feels similar to the other webkit/Chromium/CEF "inexplicable dropped repaints" issues we've seen, e.g. with window resizing. But clearly we have some power to control the behavior since it worked fine in the old project panel implementation.

core-ai-bot commented 3 years ago

Comment by peterflynn Tuesday Apr 24, 2012 at 20:50 GMT


Also, this seems to vary over time: sometimes, scrolling will actually be so-so (doesn't feel native, but not unusably bad). It seems most likely to be really bad if I've just launched Brackets within the past few minutes. If it's been running for 1 hour+, it becomes much harder to repro.

core-ai-bot commented 3 years ago

Comment by peterflynn Tuesday Apr 24, 2012 at 21:28 GMT


Another note: Jason says he sees performance problems only when the dev tools window is open. I can repro while it's closed too, though.

core-ai-bot commented 3 years ago

Comment by njx Tuesday May 08, 2012 at 17:42 GMT


Most likely an issue with the native shell. We'll wait until we've gotten a new shell before working on this.

core-ai-bot commented 3 years ago

Comment by njx Tuesday Oct 16, 2012 at 00:23 GMT


@peterflynn Does this still reproduce with the new shell?

core-ai-bot commented 3 years ago

Comment by peterflynn Tuesday Oct 16, 2012 at 20:55 GMT


Looks good -- I've tried to repro a number of times today with no success. Not sure if this was fixed by our original migration to CEF 3 or just the recent update, but either way I'm happy! Closing.