This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 395980 - [Contexts] [Compatibility] Activations and deactivations via the IContextService do not appear to be synchronous
Summary: [Contexts] [Compatibility] Activations and deactivations via the IContextServ...
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 4.4 M7   Edit
Assignee: Platform UI Triaged CLA
QA Contact: Wojciech Sudol CLA
URL:
Whiteboard: candidate43
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-06 14:59 EST by Remy Suen CLA
Modified: 2014-04-28 10:40 EDT (History)
1 user (show)

See Also:


Attachments
Test project that reproduces the problem. (8.37 KB, application/octet-stream)
2012-12-06 14:59 EST, Remy Suen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Remy Suen CLA 2012-12-06 14:59:57 EST
Created attachment 224397 [details]
Test project that reproduces the problem.

I20121204-1000

If I try to deactivate a context and then immediately reactivate it, the end result doesn't seem like the context actually gets activated. It seems the deactivation UpdateRequest is always(?) the one that gets shafted so it is processed last.

1. Import the attached project into Eclipse.
2. Run an inner and open the 'Context Bug View'.
3. Focus on the view.
4. Hit the spacebar, messages are printed in sysout.
5. Activate another view.
6. Repeat step 4, nothing happens.
7. Window > Preferences
8. Close the dialog.
9. Repeat step 4, messages are printed now.
Comment 1 Remy Suen CLA 2012-12-06 15:42:20 EST
Went to someone else's computer and he didn't seem to see this problem on Linux (the original problem, not this particular test case...though in theory they should be identical). It may or may not be Windows-specific (given that there is some SWT code here.
Comment 2 Wojciech Sudol CLA 2014-04-28 08:56:53 EDT
I cannot reproduce the bug in my environment - Windows 7 x64.
Tested with Eclipse 4.3.0, 4.3.2 and 4.4 I20140427-2030.
Comment 3 Paul Webster CLA 2014-04-28 10:40:44 EDT
(In reply to Wojciech Sudol from comment #2)
> I cannot reproduce the bug in my environment - Windows 7 x64.
> Tested with Eclipse 4.3.0, 4.3.2 and 4.4 I20140427-2030.

I can't reproduce this either.  I might have already been fixed. Possibly as part of bug 410068 or bug 384758

PW