Skip to content

[Bug]: Sidebar project filter uses Shift-click instead of ⌘-click to add or remove a project #40367

Open

Description

@gandalfsaxe

The sidebar project filter uses Shift-click to add or remove a project. The convention is ⌘-click on macOS and Ctrl-click on Windows and Linux; no desktop OS uses Shift-click for this. In T3, ⌘-click instead acts like a plain click: the filter switches to that one project and the menu closes, so the selection you had is gone.

It's one of the oldest selection conventions on the desktop:

  • ⌘-click (Ctrl-click on Windows and Linux) adds or removes a single item (Apple: Select items on Mac).
  • Shift-click selects a range.

T3's own thread list already follows it.

Steps to reproduce

  1. Open the sidebar project filter.
  2. Shift-click two projects.
  3. ⌘-click a third.

Expected: the third project is added and the menu stays open. ⌘-clicking it again removes just that project.

Actual: the filter shows only the third project and the menu closes.

Where it happens

Multi-select came in with #25284, which chose Shift-click and Shift+Enter.

Suggestion: use ⌘-click (Ctrl-click off macOS) instead of Shift-click to add or remove a project, the same check the thread list uses. Shift-click normally selects a range, which doesn't fit a menu where each project is picked on its own.

Seen in T3 Code 0.1.11 on macOS.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions