-
Notifications
You must be signed in to change notification settings - Fork 0
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
[CLOSED] Editor scrolls back to top when returning to it after Quick Open #2785
Comments
Comment by pthiess Reviewed, medium priority seems reasonable, |
Comment by peterflynn Looks somewhat unrelated to #2985 after all. I think the bug here is that the value of getCurrentFullEditor() during the ModalBar ctor isn't necessarily the same as the value of getCurrentFullEditor() during ModalBar.close(). Because closing happens at the end of QuickOpen._handleItemSelect() and is further delayed by a timeout, it's basically guaranteed that the editor will have already switched by the time close() is called. Things brings two questions to mind:
|
Comment by peterflynn Also note: the timing of this stuff is affected by whether file B is already in the working set -- the editor switch is much more synchronous if so. |
Comment by RaymondLim
|
Comment by njx Nominating for sprint 22. |
Comment by njx Turns out this is due to a subtle race condition: if you call |
Comment by njx FBNC to |
Comment by peterflynn Confirmed |
Issue by peterflynn
Tuesday Feb 26, 2013 at 03:05 GMT
Originally opened as adobe/brackets#2951
Finally nailed down some repro steps for this!
The text was updated successfully, but these errors were encountered: