Bug 496991 - Part should not grab the focus if it is only made visible (and not activated)
Summary: Part should not grab the focus if it is only made visible (and not activated)
Status: UNCONFIRMED
Alias: None
Product: Efxclipse
Classification: Technology
Component: Runtime (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-29 07:02 EDT by Christoph Keimel CLA
Modified: 2016-06-29 07:02 EDT (History)
0 users

See Also:


Attachments
Demo Project (20.70 KB, application/x-zip-compressed)
2016-06-29 07:02 EDT, Christoph Keimel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Keimel CLA 2016-06-29 07:02:57 EDT
Created attachment 262773 [details]
Demo Project

When a part is activated with EPartService.showPart passing PartState.VISIBLE, the part should not grab the focus, but it does.

I have attached a small demo to showcase the problem: When you select a part id on the left side, the part will be brought to top on the right. This is done by using EPartService.showPart.

On the bottom you can select the PartState that is to be passed to EPartService.showPart. Everything works correctly for PartState.CREATE and PartState.ACTIVATE. If you choose PartState.VISIBLE the part should not grab the focus.