atom-autohide-tree-view icon indicating copy to clipboard operation
atom-autohide-tree-view copied to clipboard

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

Open ProLoser opened this issue 10 years ago • 9 comments

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.

ProLoser avatar Aug 12 '15 05:08 ProLoser

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

olmokramer avatar Aug 22 '15 01:08 olmokramer

No I guess not.

ProLoser avatar Aug 25 '15 19:08 ProLoser

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 avatar Aug 26 '15 22:08 ProLoser

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

ProLoser avatar Aug 26 '15 22:08 ProLoser

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 avatar Aug 27 '15 19:08 olmokramer

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.

olmokramer avatar Sep 14 '15 23:09 olmokramer

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

ProLoser avatar Sep 24 '15 18:09 ProLoser

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 avatar Sep 24 '15 21:09 olmokramer

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

olmokramer avatar Sep 25 '15 20:09 olmokramer