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

Bug 367242

Summary: Toolbar menu missing pull-down arrow in e4
Product: [Eclipse Project] Platform Reporter: Beth Tibbitts <beth>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: beth, eclipse.felipe, lshanmug
Version: 4.2   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
image showing missing pulldown menu arrow none

Description Beth Tibbitts CLA 2011-12-20 14:20:51 EST
Juno builds are missing the pull-down arrow next to the PLDT menu in the toolbar (red circle-arrow), probably a change to UI extension points or something.
Comment 1 Beth Tibbitts CLA 2012-01-19 14:55:58 EST
Created attachment 209773 [details]
image showing missing pulldown menu arrow
Comment 2 Beth Tibbitts CLA 2012-01-19 14:59:08 EST
Better Description:
In Indigo and previous, in the C/C++ perspective, a toolbar icon for PTP's PLDT (red-circle-arrow) has a pulldown arrow next to it, and extension points in PLDT can contribute menu items for different types of analysis.

In Juno, the pulldown arrow never appears, so there is no way to access the analysis actions.

You can see the pulldown menu arrow in Indigo, in the toolbar here:
http://help.eclipse.org/indigo/topic/org.eclipse.ptp.pldt.doc.user/html/images/mpiButtons.gif

The toolbar icon with the arrow missing in Juno is in the attachment image.

To recreate, the following plugin projects from PTP should demonstrate:
get org.eclipse.ptp.pldt.common and
org.eclipse.ptp.pldt.mpi.core

Just those two should show a single item in the pulldown menu.
pldt.common sets up the spot to put menu contributions
and pldt.mpi.core adds a menu contribution.
You may get dependency errors e.g. needing CDT, but those two *should* run well enough to exhibit the symptoms.
Comment 3 Beth Tibbitts CLA 2012-01-23 09:47:51 EST
changing bug title to emphasize this seems to be a problem in e4; it worked fine in 3.7 and previous version.
Comment 4 Felipe Heidrich CLA 2012-01-25 14:04:06 EST
what version of mac os x ?
Comment 5 Beth Tibbitts CLA 2012-01-25 15:15:22 EST
Mac OS X 10.6.8 (Snow Leopard)
Comment 6 Felipe Heidrich CLA 2012-01-30 12:16:11 EST
Lakshmi, can you please try this ?
Comment 7 Beth Tibbitts CLA 2012-01-30 16:13:15 EST
Quicker way to test: Download "Eclipse IDE for Parallel Application Developers" - e.g. Juno M4 - and bring that up.  default perspective is "C/C++"  and it has a PLDT toolbar icon (red-circle-arrow) without a pulldown arrow-tab next to it.
I'm trying to test this on win32 but the Juno M4 CDT doesn't seem to work correctly for me, so the C/C++ perspective won't come up.
Comment 8 Lakshmi P Shanmugam CLA 2012-01-31 11:38:48 EST
I tried the Eclipse IDE for Parallel Application Developers M4 build on Mac and can see that the arrow for that particular toolitem is missing. But, the other dropdown Toolitems in eclipse don't seem to have this problem.
Does the dropdown arrow for the toolitem show up on Linux and Windows?
Comment 9 Beth Tibbitts CLA 2012-02-03 17:02:14 EST
It does seem to work for Windows and Linux.

Yes the other dropdown tool items work for me too.  But since e4 is supposed to work without any changes from e.g. Indigo -- as is my understanding -- I shouldn't have to change anything, right?
FYI this plugin code hasn't changed (the extension point etc usage that the tool item drop-down should appear for) for several years.

So the dropdown menu does not appear on Mac even though it does seem to work for Mac and Linux.
Comment 10 Beth Tibbitts CLA 2012-02-03 19:00:09 EST
Hey! It's fixed in M5.  Did something change?
Comment 11 Lakshmi P Shanmugam CLA 2012-02-06 08:30:30 EST
I don't see any related SWT changes in M5, so I'm not sure, may be something changed in Platform UI.
Closing bug report.