| Summary: | Toolbar items disappear while a dialog is up, major flickering | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Dani Megert <daniel_megert> | ||||
| Component: | UI | Assignee: | Remy Suen <remy.suen> | ||||
| Status: | VERIFIED FIXED | QA Contact: | Paul Webster <pwebster> | ||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | bokowski, pwebster, remy.suen, susan | ||||
| Version: | 1.0 | Flags: | pwebster:
review+
|
||||
| Target Milestone: | 1.0 RC2 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Dani Megert
And, of course same when the dialog is closed. Also happens when using quick views, e.g. Ctrl+O. Renaming this bug because I think the problem is much worse than "flickering". The toolbar becomes mostly empty while a dialog is up. On today's call we considered the idea of parenting the dialog off of the perspective instead of the window. This is not difficult to change but things get problematic with non-modal dialogs such as the Ctrl+F dialog or the PMD that shows up for jobs. Those will need to be reparented as well or else I think we'd get into a state where selecting the dialog pulls up action sets of the previous perspective. Parenting the dialog context off of the application's context appears to be working. The tool items are not magically disappearing. The algorithm of resetting the active child chain still needs to be sorted out with regards to how to correct the chain after a modal/non-modal shell has been closed. Created attachment 173850 [details]
ShellActivationListener patch v1
This patch changes ShellActivationListener to parent dialog contexts off of the application instead of the window.
Paul, can you take a gander? <paulweb515> rcjsuen: so that's OK, at least it makes sense <paulweb515> rcjsuen: I'd only suggest you take the MWindow case statement out of the handleEvent(*) into some processWindow(*) method Method extracted and delivered. Verified in SDK 4.0 - I20100712-2029. |