Skip to content

fix(icons): make the launcher icon fill its slot - #2522

Merged
l0gicgate merged 1 commit into
mainfrom
fix/2492-launcher-icon-size
Nov 16, 2026
Merged

l0gicgate merged 1 commit into
mainfrom
fix/2492-launcher-icon-size

Conversation

@l0gicgate

Copy link
Copy Markdown
Contributor

Description

The launcher icon left a 10% margin around its tile and drew the "S" mark at 0.6 scale, so the mark covered about 44% of the canvas. Panels such as KDE Plasma's then showed Strata at about half the size of the icons beside it.

The SVG's viewBox is now cropped to the tile, so the tile fills the canvas. The mark is scaled to 0.8 and centred in the tile. The issue suggested 0.9, but at that size the mark's top and bottom points touch the tile edge. 0.8 still leaves a margin inside the tile. In a 40 px slot the mark grows from about 18×20 px to about 29×35 px.

Only data/icons/scalable/apps/io.github.lgse.Strata.svg changes. All packagers and the in-app updater install that file unchanged.

Visual evidence

N/A. This changes only the icon file. Render the SVG before and after (see below) to compare.

How to test

  1. Run mise run install, or copy data/icons/scalable/apps/io.github.lgse.Strata.svg to ~/.local/share/icons/hicolor/scalable/apps/.
  2. Pin Strata to a panel or dock, or open the application launcher. On KDE Plasma, restart plasmashell or log out and back in so the icon cache refreshes.
  3. Compare the Strata icon with the icons next to it.

Expected result: The Strata tile fills its slot the way neighbouring icons do. The "S" fills most of the tile and still has a margin to the tile's edge.

Related issue

Closes #2492

Crop the app icon's viewBox to its tile and scale the mark up from
0.6 to 0.8, centred, so panels and launchers draw it at the size of
neighbouring icons.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Launcher icon renders far smaller than other panel icons

1 participant