Skip to content

Conversation

@akoch-yatta
Copy link
Contributor

This commit addresses rendering fragments that can occur when the background images of CTabFolder will be scaled with the monitor-specific scaling active in win32. Using the ImageGcDrawer to redraw the images on demand for the correct zoom removed the fragments.

How to reproduce

Activate monitor-specific scaling
Open the IDE on a monitor with 125%
Move the IDE to a monitor with 150%

You will see some fragments in the CTabFolders
image

@github-actions
Copy link
Contributor

github-actions bot commented Feb 11, 2025

Test Results

   502 files  ±0     502 suites  ±0   11m 8s ⏱️ + 1m 12s
 4 334 tests ±0   4 320 ✅ ±0   14 💤 ±0  0 ❌ ±0 
16 575 runs  ±0  16 466 ✅ ±0  109 💤 ±0  0 ❌ ±0 

Results for commit 12f7d2b. ± Comparison against base commit 3d3406d.

♻️ This comment has been updated with latest results.

This commit addresses rendering fragments that can occur when the
background images of CTabFolder will be scaled with the monitor-specific
scaling active in win32. Using the ImageGcDrawer to redraw the images
on demand for the correct zoom removed the fragments.
@HeikoKlare HeikoKlare force-pushed the use-gcimagedrawer-for-ctabfolder-background branch from 09701f7 to 12f7d2b Compare February 11, 2025 15:47
Copy link
Contributor

@HeikoKlare HeikoKlare left a comment

Choose a reason for hiding this comment

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

Using an ImageGcDrawer here makes sense and the change properly fixes the described issue.

@HeikoKlare HeikoKlare merged commit 3e8da4a into eclipse-platform:master Feb 11, 2025
14 checks passed
@HeikoKlare HeikoKlare deleted the use-gcimagedrawer-for-ctabfolder-background branch February 11, 2025 16:01
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