Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » MenuManager on right click doesn't work properly with 1.5M6
MenuManager on right click doesn't work properly with 1.5M6 [message #873542] Fri, 18 May 2012 09:47 Go to next message
Bianca Cojanu is currently offline Bianca Cojanu
Messages: 1
Registered: May 2012
Junior Member
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 Go to previous message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1773
Registered: July 2009
Senior Member
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/
Previous Topic:back button weirdness
Next Topic:Single-sourcing with E4 apps?
Goto Forum:
  


Current Time: Tue Jul 22 17:41:00 EDT 2014

Powered by FUDForum. Page generated in 0.14306 seconds