Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

Warning that Modal Windows are not truly modal, and Panels have this issue too.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #46
    Re: Warning that Modal Windows are not truly modal, and Panels have this issue too.

    The code in the Modal Popup mostly lets the Tab, Shift-Tab do it's thing. It only interferes when you're on the first or last control (if that code is not commented out).

    Another way to handle tabbing is to build a list of "tab available" controls... and ignore everything else. If you're dealing with an accepted control, then set focus to it. This way... controls that cause issues for focus would be ignored.

    Comment


      #47
      Re: Warning that Modal Windows are not truly modal, and Panels have this issue too.

      David, Selwyn has advised he is addressing the issues raised, not every possible issue, I think that is reasonable. Thanks for the changes Selwyn. Also David thanks for your detailed contribution.
      Peter
      Insanity: doing the same thing over and over again and expecting different results.
      Albert Einstein, (attributed)
      US (German-born) physicist (1879 - 1955)

      Comment


        #48
        Re: Warning that Modal Windows are not truly modal, and Panels have this issue too.

        Originally posted by Davidk View Post
        Doesn't matter if it's a bug... Alpha doesn't want to deal with it. Can't make Alpha fix or test their stuff... that's what developers are for.

        At least there is a workaround.

        I tested jQuery .dialog as well and there is no escaping the modal popup by tabbing... it just cycles through everything that can get focus... but stays in the popup.
        I disagree strongly that this is a bug. A bug is when a feature does not work as advertised. A feature that was never implemented is not a bug. There has never been any suggestion by Alpha that you can't tab out of a modal. Therefore the fact that you can tab out of a modal can't be called a bug. At best it can be termed a deficiency and its resolution should come from making a feature request. Modals were never designed to prevent tabbing out of the modal. They were designed to prevent clicking on a control outside the modal. Which is exactly what they do. So preventing tabbing out of a modal is a feature request, and NOT (most definitely NOT) a bug. That being said, we have taken this feature request to heart and are implementing a solution for modal windows, as well as a more general solution that allows you to "fence" an arbitrary container to prevent either tabbing out of the container, and/or giving focus to a control outside the container.

        Comment


          #49
          Re: Warning that Modal Windows are not truly modal, and Panels have this issue too.

          Same is with Bootstrap. You can tab outside modal (or click). Not bug a feature.

          Comment


            #50
            Re: Warning that Modal Windows are not truly modal, and Panels have this issue too.

            thank you for confirming that Bootstrap also allows you to tab out of a modal.

            Comment


              #51
              Re: Warning that Modal Windows are not truly modal, and Panels have this issue too.

              Ghandi has posted a youtube video showing a method of implementing this. I haven't tried it but it looks simple enough.

              https://www.youtube.com/watch?v=LI6UQQvHiqo
              Alpha Anywhere v12.4.6.5.2 Build 8867-5691 IIS v10.0 on Windows Server 2019 Std in Hyper-V

              Comment


                #52
                Re: Warning that Modal Windows are not truly modal, and Panels have this issue too.

                Originally posted by iRadiate View Post
                Ghandi has posted a youtube video showing a method of implementing this. I haven't tried it but it looks simple enough.

                https://www.youtube.com/watch?v=LI6UQQvHiqo
                This is an interesting concept but it suffers from the same effects that much of Alpha's issues come from. This is tested in an environment that doesn't exist in the real world... in Live Preview. It works in Live Preview, but does not work in Chrome or other browsers.

                Further, the code is affecting most controls in the Parent Component. Code is running that is turning off, then turning on, the tabindex attribute of all these controls. Why affect all the controls in the Parent when what you need to do is control tabbing in modal popup.

                Alpha has addressed part of this issue in today's pre-release. We now have a Container that can control tabbing. This works... and tabbing cycles through the controls.

                When not using a container, tabbing is now stopped at the end (whatever that may be) but shift-tab continues to move outside the modal popup. Now that this is a feature... is it fair to call it a bug? I'm not sure since it's a pre-release. As well, stopping the tabbing is a different effect than the Container Tab Constraint... which cycles.

                One solution is to place a Container (with Tab Constraint turned on) around all controls in the modal popup UX.

                Comment


                  #53
                  Re: Warning that Modal Windows are not truly modal, and Panels have this issue too.

                  I don't agree with much of what you say here.

                  Firstly tab does not stop at the last control, it cycles back to the previous control
                  Secondly, shift-tab does not tab out of a modal window, it cycles back to the first control. Here is the video showing the behavior
                  https://www.screencast.com/t/ULw0Y3EV

                  So we have not addressed "part of the issue". We have addressed the entirety of the issue with an extremely robust and creative solution.

                  The constraint on container feature is a general purpose solution allowing you to put tab key constraints on any section of a ux. You can also turn the constraint on an off programatically. I have not seen this flexibility in any other product.

                  Finally, Live Preview is identical to a 'real environment' in almost all respects. It allows you to test in either IE or Chrome. The ONLY differences are that 1) when you are in Live Preview, there is a WorkSpace open (although you can close the WorkSace if you want to get closer to a server environment). 2) Live Preview can be slower than a real environment because it is running in process and the browser does not start up as many threads.

                  It is incredibly rare for something to work in Live Preview and not in a published app when the issue is not a user issue (such as developing with a newer version of the IDE than the server is running).

                  Comment


                    #54
                    Re: Warning that Modal Windows are not truly modal, and Panels have this issue too.

                    You'd have to follow the link to the Youtube video to understand the LivePreview comment. The tabindex test in the video was run under the Live Preview Tab... not Live Preview in a browser Window.

                    Something else must be going on because I'm not seeing the Tab Cycle... and Shift-Tab exits the Modal Popup.

                    http://youtu.be/jMHqNnq4Gc0?hd=1
                    Attached Files

                    Comment


                      #55
                      Re: Warning that Modal Windows are not truly modal, and Panels have this issue too.

                      Originally posted by Davidk View Post
                      ...Code is running that is turning off, then turning on, the tabindex attribute of all these controls. Why affect all the controls in the Parent when what you need to do is control tabbing in modal popup.
                      This is one of the methods for addressing this issue that I've seen on Stack Overflow and other sites. It does feel a bit backwards. To be safe, I think you should always restore the tabindex because you could have specified a custom tabindex or you may have intentionally disabled the tabindex of a select/input/textarea/button/a control. Setting a custom tab order and disabling tab on a visible button would be good to include in a test case to see if it is properly restored.

                      I'm hoping for the Alpha team to find the best way to address this so we don't have to inject custom code every time we open need to fence the tab/shift-tab. Keep in mind that there are multiple ways that a window or panel can be activated and we don't always have events accessible to inject code into. I think I explained that in one of my videos.

                      Thank you guys for using videos to show examples. Narration helps because it's hard to watch and know what keys you are pressing or what behavior you expected.

                      Comment

                      Working...
                      X