Ticket T676059
Visible to All Users

An application running via RemoteApp is minimized when switching between controls

created 7 years ago (modified 7 years ago)

Problem: clicking from one textbox to another textbox causes minimalization of the whole program run via Windows remoteApp.

Video: https://youtu.be/cVFGtDg6wiM

Specs:
- occurs on Windows 7 or Windows 10 (both physical and virtual machine)
- DevExpress app (LBIS4G) is running via the Windows RemoteApp
- devExpress components are in version 17.2

Findings:
- behaviour is random. There are textfields that has never done that but there are some which caused minimalization but later it worked and some time later didn’t work properly again.
- When I add another intermediate step between clicking from one textfield to another one (from textfield I click to notepad and then directly  back to another textfield) it doesn’t occure. But If I don’t click directly to the textfield but I click (from the notepad) first to the window with the form itself and then to the specific textfield it causes minimalization again.
- doesn't occure via remote desktop ony via remote app
- it doesn't matter if I use tab key or click when moving to the next textbox

Comments (3)
DevExpress Support Team 7 years ago

    Hello,
    I've reviewed different developers forums to check whether this is a known behavior and found that this behavior can take place if the Tablet mode is enabled on a local machine.
    To overcome this behavior, I suggest you disable the Tablet mode.
    If this doesn't help, would you please provide us with a sample compilable project in which this behavior is reproduced? It will allow us to find a precise solution for you much faster.
    I look forward to your response.

      Hello,
      thank you for your answer and tip for solution but tablet mode is disabled in default. Checked Win7 and Win10.

      I attached a smaller project that does the same.
      You can see it in the video as well: https://youtu.be/wC5OL-03gOk
      RemoteApp is set in default settings.
      Thank you.

      DevExpress Support Team 7 years ago

        Thank you for the sample project. I need additional time to try to reproduce this behavior. I'll get back to you as soon as I have any results. Please bear with me.

        Answers approved by DevExpress Support

        created 7 years ago (modified 7 years ago)

        Hello,
        thank you for your involvement.
        We have found a solution! This solution seems to work. One edit in windows registry solves it. Can you make it part of the devExpress framework?
        Thank you

        Solution:
        ------------------
        Windows Registry Editor Version 5.00

        [HKEY_CURRENT_USER\Software\Microsoft\Terminal Server Client]
        "EnableAdvancedRemoteFXRemoteAppSupport"=dword:00000000

          Comments (2)
          DevExpress Support Team 7 years ago

            It is great to hear that you have found a suitable solution! Thank you for sharing the reg file with us. We greatly appreciate this. I've discussed your suggestion with our developers and we came to the conclusion that it isn't quite correct to add an option to manage the EnableAdvancedRemoteFXRemoteAppSupport OS setting at our components level because this may produce additional issues.
            The correct approach is to enable this option manually or using your reg file.

            I I
            iLinx Solutions LLC 6 years ago

              Stepan you are a lifesaver!  Had a problem for over a week where our program had an issue with screens not fully closing and overlaying one another, which only happened when access via RemoteApp.  Adding this registry entry solved it :-)

              Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

              Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.