Skip to content
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

Unintuitive toggle behavior #36

Open
tehunk opened this issue Feb 4, 2019 · 1 comment
Open

Unintuitive toggle behavior #36

tehunk opened this issue Feb 4, 2019 · 1 comment

Comments

@tehunk
Copy link

tehunk commented Feb 4, 2019

Atom 1.34.0
macOS High Sierra 10.13.6
structure-view 0.2.1

Toggling the structure-view seems quite unintuitive.
By default, it seems to open in a right pane. Usually Git and Github tabs are open on the right as well. Keeping that in mind, I have trouble in some use cases.

Case 1: Structure-view is already open and is focused (toggle works as expected).
Case 2: The structure-view is closed but the right pane is open. Toggle closes the right pane first, and it requires another toggle to open the structure-view. Expected behavior: it should open the structure-view with directly on the right pane.
Case 3: The structure-view is open, the right pane is open, but it's focused on something else (such as the git tab). The same as Case 2, the toggle first closes the pane and reopen with another toggle. Expected behavior: it should change the focus onto the structure-view tab with one toggle.

By "toggling" it's expected to either open or close. I don't think it makes sense to toggle twice to open. Moreover, it shouldn't close the pane where structure-view is not even present.

@abilogos
Copy link

i have the same issue to.

i would like to contribute, but i dont know how to solve this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants