Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application freezes due to using Edge #187

Open
HeikoKlare opened this issue Jan 19, 2025 · 3 comments · May be fixed by eclipse-platform/eclipse.platform.swt#1752
Open

Application freezes due to using Edge #187

HeikoKlare opened this issue Jan 19, 2025 · 3 comments · May be fixed by eclipse-platform/eclipse.platform.swt#1752
Assignees
Labels
HiDPI A HiDPI-Related Issue or Feature SWT Issue for SWT
Milestone

Comments

@HeikoKlare
Copy link
Contributor

When using Edge as default browser for the IDE, the application sometimes freezes when Edge instances are created (e.g., for tooltips). I have experienced this sporadically. In my case, the application recovered after a pretty long waiting time (multiple minutes).

Same issue has now been reported in the official SWT repository: eclipse-platform/eclipse.platform.ui#2734

Currently, it has only been reported in combination with the monitor-specific scaling feature being enabled, but that may be because for the previous release of the IDE, Edge was only enabled by default when that feature was enabled. So there is a risk that applications using Edge are affected in general. We need to investigate what may causes these issues.

@HeikoKlare HeikoKlare added HiDPI A HiDPI-Related Issue or Feature SWT Issue for SWT labels Jan 19, 2025
@HeikoKlare HeikoKlare added this to the 4.35 M3 milestone Jan 19, 2025
@HeikoKlare HeikoKlare added this to HiDPI Jan 19, 2025
@HeikoKlare HeikoKlare moved this to 🔖 Ready: Atomic in HiDPI Jan 19, 2025
@HeikoKlare HeikoKlare modified the milestones: 4.35 M3, 4.35 M2 Jan 20, 2025
@amartya4256 amartya4256 moved this from 🔖 Ready: Atomic to 🏗 In Work: Short in HiDPI Jan 21, 2025
@amartya4256
Copy link

amartya4256 commented Jan 21, 2025

Is there a specific way to reproduce this? It dosn't seem to happen with me. What I have tried:

  • Hovering over to create javadoc tooltips.
  • Opening a javadoc tab.
  • Starting the welcome page and starting a new shell with a browser in it.
  • Starting multiple workspaces and trying to open the tooltip/welcome page on them simultaneously.

@amartya4256 amartya4256 self-assigned this Jan 21, 2025
@HeikoKlare
Copy link
Contributor Author

We are not aware of any specific way of reproducing this yet. So first task of the analysis is find a reproducer. What might help for this is eclipse-platform/eclipse.platform.swt#1706

@amartya4256
Copy link

amartya4256 commented Jan 21, 2025

I tried a few things to see if these things end up in freezing the main thread:

I tried looking for a faulty place in the Edge instantiation where we could be blocking the main thread, but almost everyting is happening asynchronously. My assumptioon is that either it happens on instantiation or when we call setUrl or setText because hat's where we do wait for the webView to finish all its queued tasks. Would try messing around with it to see if it I can reproduce the behaviour.

Another question: Is the freeze only application wide, or the mouse also freezes preventing you from using the whole OS?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HiDPI A HiDPI-Related Issue or Feature SWT Issue for SWT
Projects
Status: 🏗 In Work: Short
Development

Successfully merging a pull request may close this issue.

3 participants