sketchucation logo sketchucation
    • Login
    🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    #show_modal - HtmlDialog vs. WebDialog

    Scheduled Pinned Locked Moved Developers' Forum
    2 Posts 2 Posters 2.1k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • medeekM Offline
      medeek
      last edited by

      Speaking to a few of the users of the Truss Plugin it still seems I have issues with Mac users when it comes to the WebDialog menus, the show_modal method does not work correctly and does not block the code which creates all sorts of havoc.

      I am wondering if the newer HtmlDialog finally resolves this issue for MacOS, if so I would like to switch to the newer UI system even though it will probably break the plugin for all users of older version of SU.

      Nathaniel P. Wilkerson PE
      Medeek Engineering Inc
      design.medeek.com

      1 Reply Last reply Reply Quote 0
      • fredo6F Offline
        fredo6
        last edited by

        Yes, WebDialogs are not truly modal on Mac. So you have two problems:

        1. The code processing continues after you called wldg.show_modal. You thus have to implemnet a
          callback in your Web dialog class to tell the main code when the dialog box is dismissed.
        2. Visually the web dialog appears on top but does not prevent to use other elements of the GUI.
          Although the user may not do that naturally, he could technically.

        It seems that HTML dialog has addressed the problem on Mac, that is blocking code and dialog box preempting the focus and events.

        Fredo

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Buy SketchPlus
        Buy SUbD
        Buy WrapR
        Buy eBook
        Buy Modelur
        Buy Vertex Tools
        Buy SketchCuisine
        Buy FormFonts

        Advertisement