Bug 167675 - [Workbench] Focus is stolen when using workBenchWindow.run(IRunnableWithProgress())
Summary: [Workbench] Focus is stolen when using workBenchWindow.run(IRunnableWithProgr...
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.2.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-12 11:31 EST by Alan Boxall CLA
Modified: 2007-01-12 12:00 EST (History)
0 users

See Also:


Attachments
Project that contains testcase to reproduce problem (9.57 KB, application/octet-stream)
2006-12-12 11:34 EST, Alan Boxall CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Boxall CLA 2006-12-12 11:31:44 EST
Build ID: M20061206-0800

Steps To Reproduce:
1.unzip and import attached project in to your workspace
2.Run self hosted session
3.click in the combo field and it will go into a loop


More information:
Good design says I shouldn't do any long running request on the UI thread.
So I use the workBenchWindow.run() to do it in the background and allow the UI to update.

I don't do anything with the IProgressMonitor and it still steals the focus from the control.   

I understand that if I do things to the monitor it will affect the UI but in this case I don't modify it.
Comment 1 Alan Boxall CLA 2006-12-12 11:34:08 EST
Created attachment 55508 [details]
Project that contains testcase to reproduce problem

unzip and import this into a workspace
Comment 2 Alan Boxall CLA 2007-01-12 12:00:00 EST
After discussing this bug with Tod I now understand that any use of this method will steal focus.  i.e. I can't call this and expect focus to not be affected even if a progress monitor is not displayed.

I am closing this bug as invalid.