Repository navigation
fix(icons): make the launcher icon fill its slot - #2522
Merged
Merged
Conversation
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
This was referenced Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.svgchanges. 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
mise run install, or copydata/icons/scalable/apps/io.github.lgse.Strata.svgto~/.local/share/icons/hicolor/scalable/apps/.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