Summary: | CoolBar - deleting first item in row does unnecessary collapse/expand of row | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Lynne Kues <lynne_kues> |
Component: | SWT | Assignee: | Felipe Heidrich <eclipse.felipe> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0.1 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Lynne Kues
2002-08-14 15:51:24 EDT
Released temporary workaround for the 20020815 2.0.1 build (want to wsad to see the coolbar remember position behavior without this bug). Also released the same change into the 2.1 dev stream. You'll be able to reproduce the behavior I describe above in builds <= 20020814. Still want a fix for this on your end. the fix for this bug is not related with using setRedraw. During the destroyItem the following step are perform: (assuming that: the coobar has R rows, deleting the item at index I) a) Detect if the item is a wrap b) Delete the item, if the item was a wrap it will cause WM_SIZE, what causes the workbench to layout for R - 1 rows. c) If the item was wrap AND now there is a new item in index 'I' make the new item be a wrap, what causes the workbench to layout back to R rows. The fix is stop the WM_SIZE, but this have to be done very carefully. I will study more this case and try to submit the fix as soom as I can. Fixed > 20020815 and R2.0.1 |