| Summary: | AIOOBE in new CTabFolder on startup | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Markus Keller <markus.kell.r> |
| Component: | SWT | Assignee: | Silenio Quarti <Silenio_Quarti> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | blocker | ||
| Priority: | P3 | CC: | daniel_megert, pwebster, Silenio_Quarti |
| Version: | 3.8 | ||
| Target Milestone: | 4.2.1 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Markus Keller
I'm running 3.8 I20120429-2000 and I see the CTabFolder from R3_8_maintenance. My 3.8 starts up correctly. PW (In reply to comment #1) > I'm running 3.8 I20120429-2000 and I see the CTabFolder from R3_8_maintenance. Yes, but that's not the scenario of this bug. Oh, is it that you swapped SWT from master into 3.8? if so, I understand. PW We do not intend to support this setup - thus, we have incremented the SWT version to 3.100 to indicate behavioral changes. In this case, the PaneFolder is trying to wrap the top right control - something that the new CTabFolder does for you. Commenting out the resize handler in PaneFolder will allow you to come up. (But there would be more things to refactor to get it working properly - anything that deals with the top right control layout would have to revisited). Closing as WONTFIX. Reopening Released a fix for this problem in master http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=c727147cfc912981c3a3385133f2828fe1d74e9b (In reply to comment #6) > Released a fix for this problem in master > > http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/ > ?id=c727147cfc912981c3a3385133f2828fe1d74e9b Wow, that one-line move in CTabFolder really seems to be all it takes to make 3.8.0 work with SWT from 4.2. I think this should be released to R4_2_maintenance as well. Back ported to R4_2_maintenance. http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?h=R4_2_maintenance&id=ff2e16dcdfe0ebe080297210ab6d96ad152aea53 Verified that M20120829-1000 starts fine with SWT from R4_2_maintenance. The only difference I see is the gap in the border in the top-right corner (bug 377113). Maybe that's due to bug 382248. |