Bug 353486 - Dynamic menucontribution per pulldown in toolbar doesn't work anymore
Summary: Dynamic menucontribution per pulldown in toolbar doesn't work anymore
Status: RESOLVED INVALID
Alias: None
Product: RAP
Classification: RT
Component: Workbench (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2011-08-01 06:42 EDT by Markus CLA
Modified: 2011-08-02 02:33 EDT (History)
1 user (show)

See Also:


Attachments
The example project to reproduce the failure (18.60 KB, application/x-gtar)
2011-08-01 06:44 EDT, Markus CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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