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

Bug 140504

Summary: [OLE] visio menu disappears after clicking on eclipse menu
Product: [Eclipse Project] Platform Reporter: BL <blee49>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact: Felipe Heidrich <eclipse.felipe>
Severity: normal    
Priority: P3 CC: damodhar.akula, snorthov
Version: 3.1.2Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
URL: http://www.eclipse.org/newsportal/article.php?id=28378&group=eclipse.platform.swt#28378
Whiteboard: stalebug

Description BL CLA 2006-05-07 14:42:13 EDT
This happens both for stand alone SWT and eclipse plugin applications. I have visio embedded in SWT using OleControlSite. At first the Visio menu items appear alongside Eclipse menu items. After one click, the Visio menu item and its toolbar  disappears. only Eclipse menu items remain.

response from Toshihiro in the eclipse.platform.swt news group:
Could you please report this to Bugzilla?
(When a menu gets a focus, OleControlSite loses a focus, and 
OleControlSite in lost-focus is deactivated.
I don't know workarounds except to remove onFocusOut in 
OleControlSite.java. (probably you're able to extend the class and 
override the method)

my response:
onFocusOut is a package protected method. I attempted subclassing, but this
is only possible if I pull out the source for the entire
org.eclipse.swt.ole.win3 package.

As it is right now, embedding Visio in OleControlSite is unusable. There is another problem with loading files in this Visio OleControlSite, which I am reporting as a separate bug.
Comment 1 Felipe Heidrich CLA 2009-08-13 10:21:20 EDT
Your bug has been moved to triage, visit http://www.eclipse.org/swt/triage.php for more info.
Comment 2 Leo Ufimtsev CLA 2017-08-03 12:31:23 EDT
This is a one-off bulk update. (The last one in the triage migration).

Moving bugs from swt-triaged@eclipse to platform-swt-inbox@eclipse.org and adding "triaged" keyword as per new triage process:
https://wiki.eclipse.org/SWT/Devel/Triage

See Bug 518478 for details.

Tag for notification/mail filters:
@TriageBulkUpdate
Comment 3 Eclipse Genie CLA 2019-09-04 16:44:05 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.