eclipse.platform.swt
eclipse.platform.swt copied to clipboard
Win: Eclipse IDE freeze with Hover across screens with different UI scaling
Describe the bug Eclipse IDE is hanging for ever if a long Hover Text is shown across multiple screens, 100% reproducible on some eclipse installations, but does not occur on other eclipse installations with same eclipse version on same computer - i could not find the difference.
To Reproduce Use windows 10. Have 2 Screens. Left configured to 100% and right configured to 125% UI Scaling in Windows setting.
Having a Class
class Long {
public void veryLongMethodName1veryLongMethodName2veryLongMethodName3veryLongMethodName4() {
}
}
And Show the Outline, Hover the method name with the mouse.
The freeze ends as soon as the second display is changed back to 100%.
Sampling shows, that the CPU is busy and debugging shows Windows OS sends Events again and again and SWT is doing some things, but the hover text is never shown.
Expected behavior No freeze.
Version since First seen in Eclipse 4.26
Workaround Use 100% UI Scaling on all Monitors.
Ideas welcome. It feels like Windows/SWT is not sure which scaling to use and is hung in an endless resizing loop.