DESCRIPTION

Activator.isActive() should not call into UI thread

Current isActive() code calls into UI thread but can be called itself
from long running low level egit jobs via
IndexChangedListener.onIndexChanged(), so it is can cause deadlock
situations between UI/job threads.

The patch avoids calling into the UI thread directly and introduces new
"uiIsActive" field to track window activation and deactivation via
already existing IWindowListener callbacks.

Bug: 455468
Bug: 455741
Change-Id: I256833ada9aa7447732f410a690b26342b73f774
Signed-off-by: Jayvion Booth xxx@xxx.xxx

COMMENTS

author: Jayvion Booth
date: 2014-12-20 22:38:13.000000000

Uploaded patch set 1.

-------------------------------------
author: Brenden Conley
date: 2014-12-20 22:38:19.000000000

Patch Set 1:

Build Started https://hudson.eclipse.org/egit/job/egit.gerrit/6564/

-------------------------------------
author: Brenden Conley
date: 2014-12-20 22:51:09.000000000

Patch Set 1: Code-Review-1

Build Unstable 

https://hudson.eclipse.org/egit/job/egit.gerrit/6564/ : UNSTABLE

-------------------------------------
author: Brenden Conley
date: 2014-12-22 10:40:55.000000000

Patch Set 1: -Code-Review

Build Started https://hudson.eclipse.org/egit/job/egit.gerrit/6574/

-------------------------------------
author: Brenden Conley
date: 2014-12-22 10:54:20.000000000

Patch Set 1: Code-Review-1

Build Unstable 

https://hudson.eclipse.org/egit/job/egit.gerrit/6574/ : UNSTABLE

-------------------------------------
author: Brenden Conley
date: 2014-12-22 11:51:13.000000000

Patch Set 1: -Code-Review

Build Started https://hudson.eclipse.org/egit/job/egit.gerrit/6576/

-------------------------------------
author: Brenden Conley
date: 2014-12-22 12:04:15.000000000

Patch Set 1: Code-Review-1

Build Unstable 

https://hudson.eclipse.org/egit/job/egit.gerrit/6576/ : UNSTABLE

-------------------------------------
author: Brenden Conley
date: 2014-12-22 12:54:32.000000000

Patch Set 1: -Code-Review

Build Started https://hudson.eclipse.org/egit/job/egit.gerrit/6578/

-------------------------------------
author: Brenden Conley
date: 2014-12-22 13:07:39.000000000

Patch Set 1: Code-Review-1

Build Unstable 

https://hudson.eclipse.org/egit/job/egit.gerrit/6578/ : UNSTABLE

-------------------------------------
author: Brenden Conley
date: 2014-12-22 13:33:06.000000000

Patch Set 1: -Code-Review

Build Started https://hudson.eclipse.org/egit/job/egit.gerrit/6579/

-------------------------------------
author: Brenden Conley
date: 2014-12-22 13:37:29.000000000

Patch Set 1: Verified-1

Build Failed 

https://hudson.eclipse.org/egit/job/egit.gerrit/6579/ : ABORTED

-------------------------------------
