[Laszlo-dev] For Review: Change 20090516-bargull-GQn Summary: once more contextmenus for dhtml

André Bargull andre.bargull at udo.edu
Sun May 17 09:05:19 PDT 2009


On 5/17/2009 1:35 AM, André Bargull wrote:
> On 5/16/2009 9:34 PM, Max Carlson wrote:
>>
>> This only happens when LzMouseKernel.__showncontextmenu has a value - 
>> it's reset whenever the context menu is hidden.  Therefore, after the 
>> menu is hidden, a right-click causes both the browser and custom 
>> context menu to show up.
> A right-click fires first an onmouseup-event (with button=2 -> this 
> shows the custom contextmenu) and then an oncontextmenu-event. So it 
> shouldn't be possible that the contextmenu is hidden for 
> oncontextmenu. (I've just found out that right clicking on the custom 
> contextmenu shows the browser contextmenu, this needs to be fixed.)

At least this is how it works on Windows. Is the oncontextmenu-event 
dispatched before or after the onmouseup-event on OSX?


More information about the Laszlo-dev mailing list