Skip to content

In Index, Ctrl+H triggers both show/hide hidden files and search tabs #231

Description

@UriHerrera

Issue Description

Describe the bug

Using the keyboard shortcut Ctrl + H can also invoke a tab search function when multiple tabs are present.

Steps to reproduce the bug

  1. Open Index
  2. Use keyboard shortcut to show/hide hidden files
  3. Open a new tab
  4. Use the shortcut, but now it triggers a dialog to search tabs

Expected behavior

Using Ctrl + H in Index only does a single action.

Screenshots

Image

Tab search dialog in Index.

Additional context

In MauiKit TabView, Ctrl+H calls findTab(), which opens the quick tab search when multiple tabs are present. In Index, toggling hidden files creates a conflict when that's the case.

The problem is in MauiKit, since in Index, the shortcut is more common for that particular action (show/hide hidden files) within the app's scope (a file manager).

While Index provides a GUI fallback in the action bar (lower bottom-right), it's an annoying UX bug.

OS version and Desktop information

MauiKit Core 4.0.3 master/75956b2

Metadata

Metadata

Assignees

Labels

bug-priority-2Low priority bug. Minor issue; a few users affected; easy workarounds.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions