Skip to content

Add a Heading item: a separator with a label - #2588

Open
emilioheredia-source wants to merge 1 commit into
Open-Shell:masterfrom
emilioheredia-source:headings
Open

emilioheredia-source wants to merge 1 commit into
Open-Shell:masterfrom
emilioheredia-source:headings

Conversation

@emilioheredia-source

@emilioheredia-source emilioheredia-source commented Nov 15, 2026 •

Copy link
Copy Markdown

This is 4 of 5 of the column work from #2544. It doesn't depend on the others:

# PR Builds on
1 More than two columns, and the Second pane look setting (#2580) master
2 A Pinned programs item, with rows per column (#2586) 1
3 Recent Programs: Show as a list, with rows per column (#2587) 2
4 A Heading item (a separator with a label) (#2588, this PR) master
5 Column lines, and the same width for all columns (#2589) 1

Where this is going. Not this PR: this needs all five. This PR adds the headings ("Pinned", "Recent"); the extra columns, the pinned and recent lists in their own columns and the column lines come with the other PRs (example programs, pinned and recent):

end goal

What this PR does on its own

The menu already draws a separator's label as text, which makes a good heading over a group of items. But Customize Start Menu has no command for it, and three things keep a labelled separator from working as a heading (below).

This PR adds a Heading command to the item editor: a separator that shows its label (*heading in a custom menu). Without a heading nothing changes. To keep this small it has no text options of its own; I have size, bold and italic options for headings working too, and can send them as a separate PR if they'd be useful.

The default Classic with two columns menu, before and after: "Places" over the places, and "System" in place of the separator before the system items.

Before (as today) After
before after

The three fixes:

  • A labelled separator right after another separator was dropped as a double separator. A heading always stays now.
  • A labelled separator at the end of the menu was trimmed like any trailing separator. When the list under a heading is empty, for example with no recent programs, the heading is the last item; if it also starts a column, trimming it merged that column into the others.
  • In the second pane of the Classic two-column menu a labelled separator had no font or colors of its own: the skin's Main2_separator section was read only for its image and height. Its font and colors are now read like Main_separator's, falling back to the second pane's items.

Trying it

The zip has the two settings files used for the screenshots: Settings, Backup → Load from XML file. Loading one replaces all your settings, so save yours first with Backup → Save to XML file. Both are the default Classic with two columns menu with Downloads, Music and Videos added, and recent programs on (8): headings-before.xml as it is, headings-after.xml with the two headings. The pinned and recent programs are your own.

settings-examples.zip

Tested

On Windows 11 26H2 (26300), x64, with the Immersive skin:

  • Without headings, the layout is the same as master's: I logged every item's position from both builds on four menus and the logs match.
  • By hand: headings in the second pane, one of them right after a separator, and a new heading dragged from the list of commands shows where it was put.
  • The full rebuild has no errors or warnings.

The screenshots were taken with #2575 applied too, so the pinned Store apps show their icons.

The menu already draws a separator's label as text, which makes a good
heading over a group of items. The item editor now has a Heading command
for it (a separator, *heading in a custom menu).

Three things that kept labelled separators from working as headings:
- A labelled separator right after another separator was dropped as a
  double separator. A heading always stays now.
- A labelled separator at the end of the menu was trimmed like any
  trailing separator. When the list under a heading is empty, for
  example with no recent programs, the heading is the last item; if it
  also starts a column, trimming it merged that column into the others.
- In the second pane of the Classic two-column menu a labelled separator
  had no font or colors of its own: the skin's Main2_separator section
  was read only for its image and height. Its font and colors are now
  read like Main_separator's, falling back to the second pane's items.
@emilioheredia-source emilioheredia-source changed the title Add a Heading item: a separator with a label, with text options Add a Heading item: a separator with a label Nov 15, 2026

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant