brackets-archive / bracketsIssues

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

[CLOSED] Painting more often would provide a better user experience #6232

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by rreinhardt Friday Feb 14, 2014 at 17:50 GMT Originally opened as https://github.com/adobe/brackets/issues/6875


Hi,

Issue: Brackets does not appear to paint keystrokes, cursor movements, selections, and other user actions with regards to text smoothly.

Overview: When editing a document, there is slight but noticeable lag in the UI. If typing prose quickly from memory, or alt-left / alt-right through words, the UI does not respond to user input in a smooth fashion. The application appears to be running smooth but the painting appears to be interrupted by sequential input by the user.

References:

While I am not familiar with Inspector timelines, in the above timeline I can see multiple keydown events without any paints between, which may not be indicative of anything, but would correlate to the behavior I am seeing.

The movie, however, shows unrealistic text input but I think is an example of perhaps how the application is handling keystrokes. The sublime text comparison shows each individual keystroke in succession, whereas Brackets prints once it has all completed as it is too fast for Brackets to iterate painting each character stroke individually. Note: Brackets does the entire paint routine faster than ST, but it is less graceful and this difference is felt in a real world situation of actual user typing.

Environment:

core-ai-bot commented 3 years ago

Comment by njx Friday Feb 14, 2014 at 17:59 GMT


Thanks for the info - we definitely know typing performance is a problem. Note that "painting" itself (i.e., literally painting the pixels on the screen) might not be the problem, but rather things like script execution time and layout rendering time, which can lead to delays in the actual painting.

We're planning to get into this soon.

core-ai-bot commented 3 years ago

Comment by dangoor Monday Feb 24, 2014 at 19:11 GMT


Yeah, typing performance is important. We have two cards on our backlog that are relevant: