Skip to content

Freeze when tooltip goes to external monitor with different scale settings #1930

Closed as duplicate

Description

@vitalus

Important

If you are reporting a crash on Linux, please check if webkit is mentioned in the crash file.
If yes, please try to set WEBKIT_DISABLE_COMPOSITING_MODE=1 and/or WEBKIT_DISABLE_DMABUF_RENDERER=1 environment variables.
If they prevent crashes, don't report the bug please, it is already known as #843

Describe the bug
There is an external monitor connected to laptop. Laptop Lenovo P1 Gen7 with screen resolution 2560 x1600 (125% DPI) and external monitor 1920 x 1200 (100% DPI).

When Eclipse RCP application is full screen on main monitor and there is a view with Tree SWT component on the right side of the monitor, and items in Tree component have very long text that as a tooltip goes to the external monitor, the whole Eclipse application freezes.

To Reproduce
Move mouse over items in Tree with long test that appears as tooltips that go to external monitor partly - get a freeze.

Only switching off external monitor option in Windows unfreezes application.
With external monitor the described behavior is 100% reproducable.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots

Image

Image

Environment:

  1. Select the platform(s) on which the behavior is seen:
    • [] All OS
    • Windows
    • Linux
    • macOS
  1. Additional OS info (e.g. OS version, Linux Desktop, etc)

  2. JRE/JDK version
    OpenJDK 22

Version since
Eclipse 4.35.0

Workaround (or) Additional context
Add any other context about the problem here.
Any known workarounds for the problem?

Activity

  1. HeikoKlare commented on Mar 23, 2025

    @HeikoKlare
    Contributor

    @vitalus If am not mistaken, this issue exists for a long time and is a duplicate of

    Can you confirm this?

  2. vitalus commented on Mar 23, 2025

    @vitalus
    Author

    @vitalus If am not mistaken, this issue exists for a long time and is a duplicate of

    * [Win: Eclipse IDE freeze with Hover across screens with different UI scaling #557](https://github.com/eclipse-platform/eclipse.platform.swt/issues/557)
    

    Can you confirm this?

    It looks like the problem described - is the same. Problem is with long text tooltips and freeze occurs only for those tooltips where major part of the text (tooltip's rectangle) goes to external screen.. Freeze does not occur for labels where smaller part of the text goes to external monitor.

    I would mark this issue as duplicate of the referenced..

  3. HeikoKlare commented on Mar 25, 2025

    @HeikoKlare
    Contributor

    Thank you for the clarification. Yes, this issue happens with long tooltip texts. Note that it can also be produced in other software, even in Windows-integrated tools like the Windows explorer (#1262 (comment)).

    Closing this as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions