| Summary: | SashRenderer does not forceLayout when child element container data has changed | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Julian Hemm <hemm.julian> | ||||
| Component: | UI | Assignee: | Platform-UI-Inbox <Platform-UI-Inbox> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | hemm.julian, Lars.Vogel | ||||
| Version: | 4.8 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Julian Hemm
Thanks Julian, are you available to upload a Gerrit?
IMHO fix would look similar to:
if !(element.getParent!=null && element.getParent!= SashRenderer.this ) || element.getRenderer() == SashRenderer.this {
return;
}
We basically need to check the parent also and see if it is a SashRenderer.
Created attachment 270993 [details]
SashRenderer.java
Hi,
i tried to fix the SashRenderer.
Unfortunately I have problems pushing to Gerrit and no time to fix it.
So, for review I will attach my changes here :/
I'm not pretty sure with the changes, looks quite complicated what was needed to be done so please take a look at it.
- added 3 private methods on the buttom and adapted forceLayout and subscribeTopicSashWeightChanged
Hope this helps.
regards
Julian
This bug did not get delivered for the specified target milestone. Please set the target milestone when you plan to deliver the fix. Sorry Julian for missing your patch. I regulary check Gerrit but didn't see that you had issue uploading a patch to Gerrit. Meanwhile we have fixed that via Bug 553811 *** This bug has been marked as a duplicate of bug 553811 *** |