Community
Participate
Working Groups
I have a placeholder in a perspective. I remove the [ ] visible check. When I start the application the placeholder part is not visible, but the placeholder itself still occupies space (I get a gray, empty area). If I call "MPlaceholder#setVisible" from code, the part and the placeholder are hidden.
I am not able to reproduce this behavior. Could you provide an example project? Or (better) an JUnit test case? Or (what would be great) a gerrit to fix the issue ;) Does the part have a (empty) toolbar? That might explain the issue, as toolbars are not well rendered when a part is not in a partstack. That is, they are rendered next to the part.
If I remember right it should be reproducible this way: Have a Sash with two parts each of them displayed by a placeholder: |<Placeholder->Part A|<Placeholder->Part B| I give both 500 as container data, now I start and see both parts with equal space. The I remove [ ] visible check from second placeholder (that shows part B) I start and see the first part and with equal space an empty area.
Still cannot reproduce, it is not efficient if we have to try to reproduce the corner case in which this occurs. Please provide working reproductions for issues you find.
Thanks for the patience. Sadly I'm not able to reproduce this in a simple application so this might caused by an invalid combination/usage and will close this as WORKSFORME as long as I can't find the root cause.