Skip to content

Win: Eclipse IDE freeze with Hover across screens with different UI scaling #557

Closed
@jukzi

Description

@jukzi

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.

image
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.
image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    HiDPIIssues related to High resolution monitorsWindowsHappens on Windows OSbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions