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

Bug 353486

Summary: Dynamic menucontribution per pulldown in toolbar doesn't work anymore
Product: [RT] RAP Reporter: Markus <m_falk>
Component: WorkbenchAssignee: Project Inbox <rap-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: m_falk
Version: unspecifiedKeywords: needinfo
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
The example project to reproduce the failure none

Description Markus CLA 2011-08-01 06:42:52 EDT
Build Identifier: 20110615-0604

With the release 1.4 of RAP, the dynamic menucontribution in the toolbar on pulldown menues doesn't work anymore. I have adjusted the demo application with 2 buttons (one static  and one dynamich menucontribution).

The dropdown on the static menu works, but the dropdown of the dynamic works not.

Switching to RAP 1.3 SR1, the failure is gone and the dropdown menu appears on both menus.

Reproducible: Always

Steps to Reproduce:
1. Download the demo app attached to the bug
2. Start it up (on RAP 1.4)
3. Remove the '?startup=de.meins.rap.demo.mailapp' from the start url
4. Klick on the 'dynamic test' drop down menu (little arrow)
Comment 1 Markus CLA 2011-08-01 06:44:28 EDT
Created attachment 200647 [details]
The example project to reproduce the failure
Comment 2 Ivan Furnadjiev CLA 2011-08-01 11:39:40 EDT
Hi Markus, in RAP 1.4 we updated the Workbench code to 3.7 code base. In 1.3 we've still used Workbench 3.4. There are a lot of changes between 3.4 and 3.7 in the field of menu contributions handling (WorkbenchMenuService). If you add your menu items in the overrided DynamicTest#fill( menu, int ) the menu appears without problem. Could you test your code in RCP, Indigo? Does it work there?
Comment 3 Markus CLA 2011-08-02 02:07:23 EDT
Hi Iva,

thx for the quick response :-) I didn't expect such a quick one (and did not get a mail...).

And yes, you're right. Working smoothly without problems.


Next time, I will post it in the forum. Didn't found it yesterday.

Thx again,
Markus
Comment 4 Markus CLA 2011-08-02 02:08:57 EDT
Damn, sorry for the mistake in your name. Should be Ivan.

And didn't find...

Cheers,
Markus