| Summary: | Detached windows should take UI decorations from parent window | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Brian de Alwis <bsd> |
| Component: | UI | Assignee: | Brian de Alwis <bsd> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | tom.schindl |
| Version: | 4.2 | ||
| Target Milestone: | 4.6 M7 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://git.eclipse.org/r/66340 https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=3c96ed5433cf3000b50bef3b9f7dc430838c0a46 |
||
| Whiteboard: | |||
|
Description
Brian de Alwis
New Gerrit change created: https://git.eclipse.org/r/66340 I added a note on the gerrit-review. Looking at the resource stuff in general is that we are leaking resources eg. change the image while running we are NOT disposing the image old image :-( I guess one needs to revisit the resource handling by introducing a ref-counting resource system. I considered walking up the parent chain, but that pulls out the perspective icon, which would be disconnected from the parent window. (In reply to Thomas Schindl from comment #2) > I added a note on the gerrit-review. Good point (re: need to monitor iconURI changes on the parent window too). > Looking at the resource stuff in general is that we are leaking resources > eg. change the image while running we are NOT disposing the image old image > :-( They are disposed of using a #disposeExec registered in SWTPartRenderer#init(). That's effectively a leak for a long-running system. Gerrit change https://git.eclipse.org/r/66340 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=3c96ed5433cf3000b50bef3b9f7dc430838c0a46 Fixed for 4.6M7. Not such a trivial fix after all. Mass move to 4.6 RC1. We might push out more to 4.7. Oops, was fixed for M7, but forgot to mark it as resolved. Verified in 4.6.0 I20160427-2000 |