eclipse-platform / eclipse.platform.ui

Eclipse Platform
https://projects.eclipse.org/projects/eclipse.platform
Eclipse Public License 2.0
81 stars 182 forks source link

Disable UI Freeze Error log by default #2218

Open jukzi opened 1 month ago

jukzi commented 1 month ago

When something takes long it is contra productive that the error log pops up and robs the focus, disturbing my work even more. It should do so on real errors, but some things simply take long. Therefore by default the error log should only pop up on errors and freezes should not be reported as errors.

image

Downgrading freezes error/warning to warnings/info does not work so good with public API likeorg.eclipse.ui.monitoring.PreferenceConstants.LONG_EVENT_ERROR_THRESHOLD_MILLIS

WDYT?

vogella commented 1 month ago

IMHO this change is fine. The period in which I hoped that all long operations will run out of the UI thread has passed, looks like this expectation was unrealistic.

I would not do this shortly before the release , better to wait for a new release cycle.