rust-lang / rust-lang/rust-clippy

"Lint groups" picker has inconsistent nothing-selected behavior.

Open
#12,541 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-website C-bug
Dominant language
Rust
Stars
13.5k
Forks
2.2k
Avg merge
2d 10h
Merged PRs (30d)
32

Description

Description

One of the options in the "Lint groups" menu is "None", which deselects everything. But if you have only one group selected and click it, it resets to default.

  • This is inconsistent UI; either
    • nothing-selected should be permitted however you reach it, or
    • the "None" option should not exist.
  • This is inconvenient and unpleasantly surprising when my goal is to view one group at a time, and the obvious thing to do is to uncheck the selected group and then check the next one in the list.
Additional Labels

@rustbot label +A-website +C-bug

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the "Lint groups" picker behavior with one group selected, then click that group and compare it with choosing "None". Done means the picker handles reaching a no-selection state consistently, or the "None" option is removed; the issue does not name a file or test to inspect.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.