| Summary: | StyledText slow to update due to deferred flushing | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Scott Kovatch <skovatch> | ||||
| Component: | SWT | Assignee: | Scott Kovatch <skovatch> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Silenio Quarti <Silenio_Quarti> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | gheorghe | ||||
| Version: | 3.6 | Flags: | Silenio_Quarti:
review+
gheorghe: review+ |
||||
| Target Milestone: | 3.6 RC2 | ||||||
| Hardware: | Macintosh | ||||||
| OS: | Mac OS X | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Scott Kovatch
Commenting out the line s.flushDisabled() at Composite.java:557 fixes it, so we appear to be too aggressive with the flush deferral. This is a regression, so I think we should aim to fix it for RC2. Do we need a call to NSWindow.flushWindowIfNeeded() in Shell.clearDeferFlushing()? (In reply to comment #3) > Do we need a call to NSWindow.flushWindowIfNeeded() in > Shell.clearDeferFlushing()? That does appear to fix the problem. I'm doing some more testing, but it looks good. Created attachment 168992 [details]
Fix
Call flushWindowIfNeeded instead of waiting for Cocoa to do it eventually.
Fixed > 20100518. |