| Summary: | outline does not expand comments from collapsed subsections | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Steffen Pingel <steffen.pingel> | ||||||||||
| Component: | Mylyn | Assignee: | Jingwen 'Owen' Ou <jingweno> | ||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||
| Severity: | enhancement | ||||||||||||
| Priority: | P3 | ||||||||||||
| Version: | unspecified | ||||||||||||
| Target Milestone: | 3.1 | ||||||||||||
| Hardware: | All | ||||||||||||
| OS: | All | ||||||||||||
| Whiteboard: | |||||||||||||
| Bug Depends on: | |||||||||||||
| Bug Blocks: | 238038 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Steffen Pingel
There might not be a trivial fix since the current implementation is kind of hackish and does some special handling of comments (see attached context). Created attachment 110290 [details]
mylyn/context/zip
Created attachment 110765 [details]
a patch that fixed the problem
The reason is the comments under each subsections are built lazily. WHile toggling the main section, we need to also toggle the subsecions before EditorUtil.findControl()
Created attachment 113057 [details]
simpler solution
Created attachment 113058 [details]
mylyn/context/zip
Thanks for your patch. I am a bit concerned that expanding all expandable composites could have a negative performance. I have taken a similar approach that limits the changes to handle the comment section specifically. Steffen, did u apply this patch? The outline should work now? Yes, the patch was applied. I was mistaken on todays call. Sorry about that. |