Hybrid View

  1. #1
    Sencha User
    Join Date
    Oct 2008
    Posts
    25
    Vote Rating
    0
    tamsler is on a distinguished road

      0  

    Default Context Menu is not hiding

    Context Menu is not hiding


    Versions:
    GXT: v2.2.4
    GWT: v2.3.0
    Browser: FF 4.0.1
    OS: Mac OS X 10.6.7

    Problem:
    Any context enabled component (grid, tree) doesn't hide the context menu if no selection was made.

    Steps to reproduce:
    1. Right click on a context menu enabled component
    2. Don't select any menu in the context menu
    3. Clicking anywhere in anywhere other than the context menu won't close/hide it

    Screen capture showing the problem: http://www.youtube.com/watch?v=Yy-lawekrpU

  2. #2
    Sencha User
    Join Date
    Oct 2008
    Posts
    25
    Vote Rating
    0
    tamsler is on a distinguished road

      0  

    Default


    I have done some more testing and have observed the following:

    I think the issue has to do with the mouse pointer position w.r.t. to the context menu position.


    1. Right click on the tree item, and while holding the right mouse button pressed, move the cursor over the context menu and then let the mouse button go. Now the context menu will always close.

    2. Right click on the tree item, and while holding the right mouse button pressed, move the cursor way from the context menu and then let the mouse button go. Now the context menu won't close. This case is illustrated in the following screen capture:
    http://www.youtube.com/watch?v=PU9nTUUdmHw

    Also, this is not just a FireFox issue. On some browsers/OS the right click aligns the context menu with the mouse pointer and for others it doesn't. So if the user happens to move the mouse while the right button is clicked, and the context menu is not under the mouse pointer when the user releases the right button, then the issue arrises.

  3. #3
    Sencha User
    Join Date
    Oct 2008
    Posts
    25
    Vote Rating
    0
    tamsler is on a distinguished road

      0  

    Default


    One more observation. In a previous version of GXT, v2.1.1, the context menu display behaved differently.

    GXT v2.1.1 : The context menu renders on right mouse button release
    GXT v2.2.4 : The context menu renders on right mouse button press

  4. #4
    Sencha User
    Join Date
    Nov 2011
    Posts
    4
    Vote Rating
    0
    Leila is on a distinguished road

      0  

    Default


    I have noticed this also. Has there been any resolution to this issue? This has really thrown a wrench in the progress of the payroll solutions site I am creating. If anyone knows how to fix this problem, please let us know. Thank you very much!

Thread Participants: 1