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 Section when using autoscaling #2980
We set the text "Service Properties" in a Section 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 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 Section. By removing the autoscaling from the ini file, the text appears also in the 150% case. So... there might be an issue with how sizes are calculated when using autoscaling.
OS: Windows 11
Java: JDK 21.0.6.7.1
Issue seen from: Eclipse 2025-03
See attached images for the different cases (no autoscaling + 125%/150% OS scaling / autoscaling + 125%/150% OS scaling)
We also have issues with disappearing text in the same manner in org.eclipse.swt.widgets.Label where the last word sometimes (according to the scenarios mentioned above) is going missing.
Maybe a stupid question, but will the suggested fix also handle the missing text using org.eclipse.swt.widgets.Label? Or is a separate ticket needed on another GitHub for that case? We use the SWT.WRAP flag for the labels. And.. in the same way as text disappears from Section, it also happens with Label.
Activity
fedejeanne commentedon May 14, 2025
I can reproduce the error by adding the style-bit
Section.TITLE_BARto theFormViewin line 158 and then opening the Eclipse Form view.For me it happens when using a monitor zoom of 175% in my ThinkVision 34'' (true-split is deactivated).
I assume this is another flavor of eclipse-platform/eclipse.platform.swt#2003 and the layout might be the culprit, but I haven't analyzed this in detail.
Workaround
Section.TITLE_BARorExpandableComposite.FOCUS_TITLE@akoch-yatta / @amartya4256 can you please look into it and see if it's indeed related to eclipse-platform/eclipse.platform.swt#2003 ?
akoch-yatta commentedon May 14, 2025
Looks like a similar issue, yes, but it doesn't look exactly the same. However, still investigating it @fedejeanne
Workaround for unexpected text wrapping
Workaround for unexpected text wrapping
selundqma commentedon May 16, 2025
Maybe a stupid question, but will the suggested fix also handle the missing text using org.eclipse.swt.widgets.Label? Or is a separate ticket needed on another GitHub for that case? We use the SWT.WRAP flag for the labels. And.. in the same way as text disappears from Section, it also happens with Label.
fedejeanne commentedon May 16, 2025
I assume "the fix" is #2986? That PR only touches the class
ExpandableCompositeso no, it shouldn't fix the issue forLabel.Could you provide more details and a reproducer for the issue with the label? I can imagine we would need another Issue/PR for that.
Workaround for unexpected text wrapping
selundqma commentedon May 20, 2025
New issue created for the SWT Label case. Attached a Reproducer in that ticket.
eclipse-platform/eclipse.platform.swt#2166
Workaround for unexpected text wrapping
HeikoKlare commentedon Nov 18, 2025
This has been fixed via:
A related workaround is to be reverted via: