| Summary: | [Dialogs] Java Build Path properties page freezes UI during compile [general issue] | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Adam Schlegel <Adam_Schlegel> |
| Component: | UI | Assignee: | Tod Creasey <Tod_Creasey> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | dirk_baeumer, lavinm |
| Version: | 2.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Adam Schlegel
If Linux GTK needs an "active" event loop to process repaints then we have the same problem in all places where we start a modal context operation with fork=false. Moving to SWT for commenting if this is the case. If so then somebody (workbench/SWT) must provide support for updating a label even in cases where fork=false. There are cases where we pass fork=false on purpose and changing this isn't easy. Exactly when a widget redraws is undefined. On some platforms, changing the text of a label redraws right away. On others, a "paint event" is queued. In order for an application to ensure that all outstanding paints for a widget are serviced right away without falling back to an event loop, use Control.update(). NOTE: It's generally a bad idea to force repaints in the UI. This can lead to flickering because forcing a paint defeats the paint merging mechanism that is native on most operating systems. In this case, Control.update() seems to be exactly what you need. Feel free to reopen this PR if this doesn't work for you. Control.update() is exactly what we need. Reopeing PR and moving to platform since we are using platform componentes to present progress. Fixed in build >20020918 *** Bug 22733 has been marked as a duplicate of this bug. *** Marking closed |