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

Improve keyboard handling #171

Closed
W4RH4WK opened this issue Mar 31, 2023 · 2 comments
Closed

Improve keyboard handling #171

W4RH4WK opened this issue Mar 31, 2023 · 2 comments

Comments

@W4RH4WK
Copy link

W4RH4WK commented Mar 31, 2023

I just noticed two keyboard related issues with xarchiver:

  1. Keybindings for the back / up / forward actions are missing. My suggestion would be Alt+left for back, Alt+up for up, Alt+right for forward. These bindings correspond to Windows Explorer's bindings.

  2. Tree nodes in the side bar cannot be closed via keyboard. Even further, tree nodes are automatically expanded when selecting them with the up/down keys. This makes it very tedious to navigate to a node at the same depth, when the tree is large (wide and deep). I'd suggest not opening the nodes when navigating with the up/down keys; left closes a node, right (or space, or enter) opens a node.

@ib ib added the undecided label Apr 1, 2023
@richo67
Copy link

richo67 commented Nov 22, 2023

This would be great. I am looking long time for tool to handle archives with keyboard only

@ib ib added enhancement and removed undecided labels Nov 29, 2023
ib added a commit that referenced this issue Dec 8, 2023
The archive tree nodes currently expand automatically on selection,
which may be unwanted and is not standard GTK behavior.

Add a preference item to allow selecting whether automatic expansion
should be the default.

This addresses a request by W4RH4WK, github issue #171.
ib added a commit that referenced this issue Dec 8, 2023
The keyboard shortcuts are Alt+Left to go back, Alt+Up to go up,
Alt+Right to go forward, and Alt+Home to go to the root.

This is part of the implementation of a request by W4RH4WK,
github issue #171.
ib added a commit that referenced this issue Dec 8, 2023
The right cursor key expands a node, the left cursor key collapses it.

This closes a request by W4RH4WK, github issue #171.
@ib
Copy link
Owner

ib commented Dec 8, 2023

  • Automatic node expansion can now be disabled in the preferences.

  • Tree nodes in the sidebar could already be opened / closed with the plus / minus keys. I've enabled the right / left cursor keys for this as well.

  • Keybindings for the back / up / forward / root actions have been added.

@ib ib closed this as completed Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants