olmokramer / atom-autohide-tree-view

Hides most of the tree view, reveal it on hover
MIT License
38 stars 7 forks source link

Have to hover mouse over file tree to autohide on new file #43

Open ProLoser opened 9 years ago

ProLoser commented 9 years ago

When opening a new file, the tree is expanded. it doesn't autohide when I change focus to the editor until I hover the mouse over the tree and then mouse back out.

olmokramer commented 9 years ago

Are you still using auto-reveal-in-sidebar? Is it also present when that package is disabled?

ProLoser commented 9 years ago

No I guess not.

ProLoser commented 9 years ago

I have confirmed however that (with right-aligned tree view) if you reveal any file it causes extremely erratic behavior and can sometimes break the tree. This may also have something to do with autohide minimap plugin, but if I disable THAT plugin I still see weird small jumping of the entire IDE.

ProLoser commented 9 years ago

I believe that if the editor gains focus you should hide the sidepanel. Not just on mouse-out.

olmokramer commented 9 years ago

I believe that if the editor gains focus you should hide the sidepanel. Not just on mouse-out.

That's a good one! I'll see what I can do about these problems.

olmokramer commented 9 years ago

I've done some updates, including your suggestion about editor focus. I want to do some more testing before publishing, but you can check it out in the meantime by cloning the master branch of this repository into ~/.atom/packages.

ProLoser commented 8 years ago

@olmokramer just merge it in! really looking forward to this fix.

olmokramer commented 8 years ago

Well, there's an issue... I didn't work with feature branches (this is a reminder of why I really should do that) and there's still #28 which is really close to being fixed, so I wanted to wait for that. It took more time than expected, though, so I'll try to release tomorrow and resolve #28 in the next version.

olmokramer commented 8 years ago

Ok, I published the new version, v0.24.4. Please let me know if it works.