| Summary: | Windows#setDefaultModalParent() stores given value in application scope | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Rüdiger Herrmann <ruediger.herrmann> | ||||
| Component: | JFace | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P1 | CC: | ruediger.herrmann | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 1.4 M7 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Rüdiger Herrmann
Created attachment 191411 [details]
Proposed patch
This patch puts the provider set by Window#setDefaultModalParent into the session store.
Hi Ivan, I just had a look at your patch. I think the defaultModalParent should also be removed because a) it is useless as it is always null b) it is static and there must not be any static IShellProvider Hi Rüdiger, why do you think that the defaultModalParent is always null - it is initialized in the declaration? Yes, it is static, but it uses Display.getCurrent().getShells() to get the session aware modalChild. Ups, I overlooked this - thought it was initialized with null, don't ask me why... Sorry for the noise. Applied patch to CVS HEAD. |