You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Text sometimes partially disappears in Label when using autoscaling #2166
We set a text in an org.eclipse.swt.widgets.Label and it is showed nicely when creating an RCP application using Eclipse 2024-12 in all scaling variants. But, in newer versions (2025-03, 2025-06 M1, 2025-06 M2) some of text disappears, "wreco.", when using different scaling in Windows. Like, on my laptop it works fine in 125% scaling. Moving over to 150% and some of the text is missing in the Label. By removing the autoscaling or changing to an older Eclipse version, the text appears also in the 150% case. So... there might be an issue with how sizes are calculated when using autoscaling in higher scaling >= 150%.
OS: Windows 11
Java: JDK 21.0.6.7.1
Issue seen from: Eclipse 2025-03
Issue not seen in: Eclipse 2024-12
Eclipse 2025-06 M2 (autoscaling + 150% OS scaling)
By setting different window sizes in Application.e4xmi, one can see that the text either fits on one line or it wraps correctly.... OR! The last part of the text, "wreco.", disappears.
A test RCP application has been attached. The screenshots were taken from this app.
Activity
fedejeanne commentedon May 20, 2025
cc @akoch-yatta
selundqma commentedon May 28, 2025
I guess this will be analyzed after the imminent release.
selundqma commentedon Jun 27, 2025
Any updates on this matter?
amartya4256 commentedon Aug 4, 2025
Use Float in GridLayout for precise scaling
Return Point.OfFloat in Label:computeSize
Use Float in GridLayout for precise scaling
Return Point.OfFloat in Label:computeSize
Use Float in GridLayout for precise scaling
Return Point.OfFloat in Label:computeSize
Use Float in GridLayout for precise scaling
Return Point.OfFloat in Label:computeSize
Return Point.OfFloat in Label:computeSize
Return Point.OfFloat in Label:computeSize
Use Float in GridLayout for precise scaling
3 remaining items
Use Float in GridLayout for precise scaling
When computing the size of a widget always return values rounded up
When computing the size of a widget always return values rounded up
When computing the size of a widget always return values rounded up
When computing the size of a widget always return values rounded up
When computing the size of a widget always return values rounded up
When computing the size of a widget always return values rounded up
When computing the size of a widget always return values rounded up
When computing the size of a widget always return values rounded up
When computing the size of a widget always return values rounded up
When computing the size of a widget always return values rounded up
When computing the size of a widget always return values rounded up
HeikoKlare commentedon Nov 18, 2025
This has been fixed via: