MenuManager on right click doesn't work properly with 1.5M6 [message #873542] |
Fri, 18 May 2012 09:47  |
Eclipse User |
|
|
|
Hi,
I have a MenuManager on a Text field, using Rap 1.4 goes well. I migrated to Rap 1.5M6, and it seems there is a problem.
Here is the code:
Text valueText;
........
MenuManager menu = new MenuManager("#PopupMenu");
menu.add(action);
valueText.setMenu(menu.createContextMenu(valueText));
On Rap 1.5M6 your mouse position should be exactly on Text borders. If its position is inside the Text area, on mouse right click the menuManager wont show up.
I also tried with rap 1.5M7 and I have same problem.
Thanks,
Bianca
|
|
|
Re: MenuManager on right click doesn't work properly with 1.5M6 [message #874591 is a reply to message #873542] |
Mon, 21 May 2012 03:45  |
Eclipse User |
|
|
|
Hi Bianca,
sounds like a bug for me. Could you please open a bugzilla and attach a
snippet to reproduce the issue there?
Thanks,
Ivan
On 5/18/2012 4:47 PM, Bianca Cojanu wrote:
> Hi,
>
> I have a MenuManager on a Text field, using Rap 1.4 goes well. I
> migrated to Rap 1.5M6, and it seems there is a problem.
> Here is the code:
> Text valueText;
> ........
> MenuManager menu = new MenuManager("#PopupMenu");
> menu.add(action);
> valueText.setMenu(menu.createContextMenu(valueText));
>
> On Rap 1.5M6 your mouse position should be exactly on Text borders. If
> its position is inside the Text area, on mouse right click the
> menuManager wont show up. I also tried with rap 1.5M7 and I have same
> problem.
>
> Thanks,
> Bianca
--
Ivan Furnadjiev
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Powered by
FUDForum. Page generated in 0.05095 seconds