Skip to content

Replace pre-generated disabled icon with on-the-fly generated ones#1742

Merged
HannesWell merged 1 commit intoeclipse-pde:masterfrom
HeikoKlare:disabled-remove
Apr 29, 2025
Merged

Replace pre-generated disabled icon with on-the-fly generated ones#1742
HannesWell merged 1 commit intoeclipse-pde:masterfrom
HeikoKlare:disabled-remove

Conversation

@HeikoKlare
Copy link
Copy Markdown
Contributor

SWT's algorithm to calculate disabled icons on the fly has been enhanced to produce results that are equal to the existing, pre-generated disabled icons being used. This makes the usage of pre-generated disabled icons obsolete. This is particularly important for the introduction of SVG icons, as the quality of on-the-fly generated disabled icons based on the original SVGs is better for arbitrary zooms than the scaled up or scaled downs versions of the PNG-based disabled icons.

This change removes all explicit specifications of disabled icons unless it's a usage of one of Platform's shared images.

@HeikoKlare HeikoKlare marked this pull request as ready for review April 28, 2025 15:02
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 28, 2025

Test Results

   285 files  ±0     285 suites  ±0   48m 58s ⏱️ + 1m 50s
 3 608 tests ±0   3 532 ✅ ±0   76 💤 ±0  0 ❌ ±0 
11 016 runs  ±0  10 785 ✅ ±0  231 💤 ±0  0 ❌ ±0 

Results for commit b71bc85. ± Comparison against base commit e83df80.

♻️ This comment has been updated with latest results.

SWT's algorithm to calculate disabled icons on the fly has been enhanced
to produce results that are equal to the existing, pre-generated
disabled icons being used. This makes the usage of pre-generated
disabled icons obsolete. This is particularly important for the
introduction of SVG icons, as the quality of on-the-fly generated
disabled icons based on the original SVGs is better for arbitrary zooms
than the scaled up or scaled downs versions of the PNG-based disabled
icons.

This change removes all explicit specifications of disabled icons unless
it's a usage of one of Platform's shared images.
Copy link
Copy Markdown
Member

@HannesWell HannesWell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.
Thank you for this clean-up.

@HannesWell HannesWell merged commit 1e8d28a into eclipse-pde:master Apr 29, 2025
12 checks passed
@HeikoKlare HeikoKlare deleted the disabled-remove branch March 27, 2026 19:39
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.

2 participants