nwjs/nw.js

There is no action after menu item mouse click sometime

Opened this issue · 0 comments

Issue Type

Before opening an issue, please search and see if it has already been raised.

  • [ X] Bug Report

  • Feature Request

  • Successfully reproduced against the latest version of NW.js?

Please use our mailing list or Gitter chatroom to ask questions. The issue tracker is only for bugs and feature requests, in English only. Please note that issues without a repro or code snippet are less likely to be resolved.

Current/Missing Behavior

There is no action after menu item mouse click sometime.

Expected/Proposed Behavior

The menu item click event handler must call after mouse click to menu item.
But it is not happens sometime. Many time all are good, but some time (about 5-10%) it is not.

Additional Info

There is a link to video about menu behavior. At about 35sec i click on menu item and do not have any result. Then i repeat the action and all are good. This bug is randomly. But i caught it after some minutes.
https://youtu.be/A-xV_27UMRM?si=BgPBovI9wUg7EbDy

  • Operating System: Windows 10
  • NW.js Version: 0.83, 0.84
  • Repro Link:
    There is my simple context menu example in the attached zip file. I am using simmilar code in the big project at link below.
    context_menu.zip
  • Code snippet:
  • Crash report: There are no any errors message during this issue. There is no mouse click event handler call while look in the chromium debugger.
    I catch the program crash after menu using too:
    https://youtu.be/rEB6rWujinI?si=EMuB7_0CDLX_aNDM
    This bug exists in your olde issue reports since 2021 year.
    The context menu is very helpfull feature. Please help.