Summary: | [MACOS] Also call update (); in Display#runDeferredLayouts similar to GTK | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Lars Vogel <Lars.Vogel> |
Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | Lars.Vogel, lshanmug |
Version: | 4.14 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
See Also: |
https://git.eclipse.org/r/164439 https://bugs.eclipse.org/bugs/show_bug.cgi?id=563712 |
||
Whiteboard: |
Description
Lars Vogel
2020-06-08 08:57:59 EDT
Sorry current Mac version of cause is missing the update() call: MacOS: boolean runDeferredLayouts () { if (layoutDeferredCount != 0) { Composite[] temp = layoutDeferred; int count = layoutDeferredCount; layoutDeferred = null; layoutDeferredCount = 0; for (int i = 0; i < count; i++) { Composite comp = temp[i]; if (!comp.isDisposed()) comp.setLayoutDeferred (false); } return true; } return false; } New Gerrit change created: https://git.eclipse.org/r/164439 @Lars, Can you please give an example of the problem that the change fixes? (In reply to Lakshmi Shanmugam from comment #3) > @Lars, > Can you please give an example of the problem that the change fixes? or a snippet so that I can test it. (In reply to Lakshmi Shanmugam from comment #3) > @Lars, > Can you please give an example of the problem that the change fixes? Only don't have a Mac so I don't know but test case would be Bug 494470 (In reply to Lars Vogel from comment #5) > (In reply to Lakshmi Shanmugam from comment #3) > > @Lars, > > Can you please give an example of the problem that the change fixes? > > Only don't have a Mac so I don't know but test case would be Bug 494470 Please see https://bugs.eclipse.org/bugs/show_bug.cgi?id=494470#c21, we need to verify if the bug is still reproducible. |