microsoft / microsoft/PowerToys

CmdPal: Add toggle to switch between single/multi-line for list items

Open
#46,280 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

CmdPal-HostUX Needs-Triage Product-Command Palette
Dominant language
C
Stars
139k
Forks
8.6k
PR merge metrics
PR metrics pending

Description

Description of the new feature / enhancement

Before PowerToys v0.98 (CmdPal v0.9.10754.0), entries were displayed on multiple lines. Now they are displayed on a single line, forcing the subtitle to be displayed next to the title.

I don't know if it's feasible, but would it be possible to add a toggle to select the one-line/multiple-line mode for ListPage?

Or at least at the ListPage level, by developing an extension, with an attribute like ListPage.EnableMultiLineItem = true;

Scenario when this would be used?

This might be practical and aesthetically pleasing in some cases, but in my use case, I displayed useful information in the subtitles. Since they are now displayed on the same line, I lose some information (for example, if I display a file path, I can no longer see the end of the path, especially if I also display the details panel).

Beyond the practical aspect, I liked the multi-line mode and the fact that the subtitle was smaller (in addition to being gray).

Supporting information

Introduced in issue #45763.
PowerToys v0.98.
CmdPal v0.9.10754.0.
Windows 11 version 25H2, build 26200.7922.

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 reviewing issue #45763 and the current ListPage implementation in CmdPal to understand the change that introduced single-line items. Trace how list-item layout and subtitles are configured, then define where a toggle or ListPage-level setting would belong. Done means users can select single- or multi-line items and subtitles remain readable in both modes.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.