[FIXED] [#1550] [4.4.1] Problem with combination of window, a menu button and a menu entry triggering an Ext.Msg.alert()

  1. #1

    [FIXED] [#1550] [4.4.1] Problem with combination of window, a menu button and a menu entry triggering an Ext.Msg.alert()

    Hello support team,
    in order to keep one github issue related to one forum thread, this post opens a new thread related to:
    [OPEN] [#1549] [4.4.0] Desktop - after shortcut removal an error occurs when adding a new one

    Brief issue description:
    When using menu together with confirmation dialogue, the fn callback is called asynchronously to the click event, and then some sort of race condition is happening to break the menu.

    Good luck,
    Dan
    Last edited by fabricio.murta; Sep 22, 2017 at 2:42 AM.
  2. #2
    Hello @NewLink!

    Thanks for the follow-up! We've logged this one under #1550, and more information, as well as minimalistic test case for the issue, are within the github issue.
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Hello again, @NewLink!

    We've just fixed this issue, as we don't expect Sencha to release a fix for this in the short term. We'll keep an eye when Sencha fixes ExtJS on their own so, when we merge the new ExtJS version in, we undo our own fix version.

    The fixed Ext.NET version is promptly available from github sources and will also be publicly available once we release Ext.NET 4.4.1.

    Premium subscription users can grab the latest Ext.NET sources from github and build it with all the to-be-released fixes.
    Fabrício Murta
    Developer & Support Expert
  4. #4
    Ops, forgot about something!

    Please note there's an edge case that this fix won't "fix". If you throw at the same time the message box and an Ext.toast(), if you click again the menu to expand it before the toast is gone, then the same bug (but for different/inverse reasons) will happen!

    As this is a very unlikely scenario (you can still use the toast as a callback of the messagebox -- only problem is if both are called at the very same js code), we've logged it under a different issue, I doubt you'll reproduce such a scenario. We just reproduced it by chance because we were using a toast as message feedback while experimenting with the test case during the development of the fix.

    Letting you know this because you considered the "toast" alternative to the test case, so now, chances are you should abandon the toast if triggering it at the same time the message box is.
    Fabrício Murta
    Developer & Support Expert
  5. #5
    Hi FabrÃ*cio,
    just installed Ext.NET 4.4.1 and... everything works like a charm. Thank you for your support and assistance.

    Dan
  6. #6
    Hello Dan!

    Thanks again for the feedback, that's really appreciated and ensures we really fixed it the way it needed to be fixed!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. Replies: 7
    Last Post: Oct 14, 2017, 7:40 PM
  2. Replies: 5
    Last Post: Jan 09, 2017, 6:07 PM
  3. Replies: 4
    Last Post: Mar 04, 2014, 2:20 PM
  4. Replies: 3
    Last Post: Mar 07, 2013, 1:26 PM
  5. [CLOSED] When button click, open the menu of button
    By supera in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 22, 2012, 4:23 PM

Posting Permissions