Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 323121

Summary: Make shared window images UI session scoped
Product: [RT] RAP Reporter: Yury <swimmer_86>
Component: WorkbenchAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: ivan, swimmer_86, webmaster
Version: 1.3   
Target Milestone: 3.0 M1   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
proposed patch none

Description Yury CLA 2010-08-19 06:35:11 EDT
Build Identifier: RAP 1.3

Now Window.defaultImages is a static filed and images is shared between users. The case than a user close the workbench and another user start another session we can get the following situation:
2nd user start new session and initialize images by Workbench.initializeImages();
1st user close Workbench and set null defaultImages in Workbench.uninitializeImages();
2nd user open the workbench window and configure the shell in Window.configureShell(Shell newShell) and get there null images array!

I suppose to put the Window.defaultImages in session scope as it is done for WorkbenchImages (example patch is attached).

Reproducible: Sometimes
Comment 1 Yury CLA 2010-08-19 06:36:55 EDT
Created attachment 176977 [details]
proposed patch
Comment 2 Ivan Furnadjiev CLA 2010-08-19 07:32:53 EDT
Hi Yury, thanks for the patch. We will look on it as soon as possible.
Comment 3 Ivan Furnadjiev CLA 2014-07-21 06:45:53 EDT
*** Bug 425861 has been marked as a duplicate of this bug. ***
Comment 4 Ivan Furnadjiev CLA 2014-07-24 08:16:48 EDT
Fixed with change https://git.eclipse.org/r/30177.