Skip to content

fix: render workspace icons at each display resolution - #42

Merged
Seb-GRAF merged 1 commit into
mainfrom
t3/fix-pixelated-workspace-icons
Oct 16, 2026
Merged

Seb-GRAF merged 1 commit into
mainfrom
t3/fix-pixelated-workspace-icons

Conversation

@M4n0x

@M4n0x M4n0x commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator

Problem

Native workspace icons can look pixelated on external and Retina displays. AppKit can select small icon artwork before SwiftUI resizes it, and enlarging the configured icon does not restore the missing detail.

Changes

  • Resolve detailed app artwork, then resample it to the configured point size multiplied by the display scale.
  • Cache by app, size and scale, retaining stable image identity across redraws and retrying missing apps.
  • Clarify native icon dimensions and the 14-point default in the README. Configuration keys and editing behavior are unchanged.

Testing

  • Six focused workspace tests pass on current main, including native AppKit and SwiftUI rendering at 1× and 2×, exact bitmap dimensions, cache identity and missing-icon recovery.
  • Release app builds; code signature, configuration validation and git diff --check pass.
  • Checked 20-point icons live on a Dell 1× display and Retina 2× display using a scratch configuration. The temporary instances were stopped; existing settings and unsaved edits were preserved.

Before and after on the Dell and Retina displays

Original captures at native resolution

Dell 1×, before:

Dell display before

Dell 1×, after:

Dell display after

Retina 2×, before:

Retina display before

Retina 2×, after:

Retina display after

Merging

One fix: commit; any merge method preserves the patch-release intent.

GPT-6.1-Sol via the Codex harness in T3 Code.

@M4n0x
M4n0x requested a review from Seb-GRAF as a code owner October 16, 2026 12:01
@Seb-GRAF
Seb-GRAF merged commit 41a1877 into main Oct 16, 2026
4 checks passed
@Seb-GRAF
Seb-GRAF deleted the t3/fix-pixelated-workspace-icons branch October 16, 2026 12:33
@stablebar-releases

Copy link
Copy Markdown

🎉 This PR is included in version 0.5.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

2 participants