Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Better user experience for start atom - #4269

Closed
yongkangchen wants to merge 1 commit into
atom:masterfrom
yongkangchen:patch-2
Closed

yongkangchen wants to merge 1 commit into
atom:masterfrom
yongkangchen:patch-2

Conversation

@yongkangchen

Copy link
Copy Markdown

as discuss at https://discuss.atom.io/t/why-is-atom-so-slow/11376/47?u=yongkangchen
By delay load and active packages, user could see window and menu faster.
Cause I usually wait window shown and click menu to open.

@yongkangchen

Copy link
Copy Markdown
Author

I did not read atom-shell source code, but i test and feel 200ms make me feel better.

@mark-hahn

Copy link
Copy Markdown
Contributor

200ms make me feel better.

What happens if you try to do something before it really loads?

On Thu, Nov 20, 2014 at 7:13 PM, Yongkang Chen [email protected]
wrote:

I did not read atom-shell source code, but i test and feel 200ms make me
feel better.

—
Reply to this email directly or view it on GitHub
#4269 (comment).

@yongkangchen

Copy link
Copy Markdown
Author

It save all the package time for window load time. And you can see window shown faster.

@yongkangchen

Copy link
Copy Markdown
Author

A better solution than this, is that
ipc.send('call-window-method', 'show');
move to first of static/index.js, so window always shown most quickly.

@yongkangchen

Copy link
Copy Markdown
Author

I record a screen video to show what I mean.
Before modify:https://drive.google.com/file/d/0B8i7zRr2bfCATG8wNDJmR3ZQb3c/view?usp=sharing
After modify:https://drive.google.com/file/d/0B8i7zRr2bfCAbG5sYnBiUG53LXc/view?usp=sharing
Combine both: https://drive.google.com/file/d/0B8i7zRr2bfCAaFBQbkxfT0JleG8/view?usp=sharing
Please notice the window show time with the dock animation down time and the editor view show time.
before modify: window show at 00:02, the editor view show at 00:02
after mofify: window show at 00:01, the editor view show at 00:02
Same start time, same editor view show time, different window show time, but make user feels quick and better.

@bthusby

bthusby commented Dec 30, 2014

Copy link
Copy Markdown

Please pull it sooner rather than later if it is ok! :)

@m1ga

m1ga commented Jan 11, 2015

Copy link
Copy Markdown

👍

@kevinsawicki
kevinsawicki force-pushed the master branch 2 times, most recently from dd8eda3 to d1ecafc Compare January 22, 2015 22:38
Comment thread src/atom.coffee

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If packages are loaded after the editor window is deserialized (@deserializeEditorWindow()) then any previously open editors from packages (such as image view, archive view, etc.) won't reopen since their deserializers won't be registered until after deserialization occurs.

@kevinsawicki kevinsawicki self-assigned this Feb 4, 2015
@oktayacikalin

Copy link
Copy Markdown

Would be really nice if you could figure out how to solve that puzzle. Having Atom open windows fast is essential when using it for occasionally opening files from the terminal.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants