Summary: | CoolBar - setWrapIndices causes rows to collapse/expand unnecessarily | ||
---|---|---|---|
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-07-30 16:08:08 EDT
where is the testcase ? or should I get anyone that use setWraps ? Lynne, there is no much we can do about this. For the OS we have to set the wraps one by one. The best you can get is no flashing in the case where you are setting the wraps exactly for the same indices. Anyway, for this case the best strategy is using setRedraw: coolBar.setRedraw(false); coolBar.setWrapIndices(wraps); coolBar.setRedraw(true); Another thing SWT could do is setRedraw internally inside the setWrapIndices. So the app don't need to care about this. Okay, I guess you were able to reproduce the behavior, so I don't need to attach the test case? Don't worry about the testcase. It would be bad for you using setRedraw surrounding the setWrapIndices, or should I talk to SN about doing this internally ? I would prefer if it could be done internally by SWT. The UI code that deals with the Coolbar has a number of workarounds/quirks already - I'd prefer not to add more if at all possible. Fixed in R2.0.1. fix in the HEAD > 20020813 |