Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Screens go to background

Posted on by 195

In my installation new screens go to background. How to change this behavior?

*This post is locked for comments

  • bankk Profile Picture
    bankk 6,603 on at
    RE: Screens go to background

    Daniel,

    We're on DAX R2 CU7 on Windows Server 2008 in a test environment. I just tried the steps you laid out for replicating the issue but even with a 20 second sleep the new form would load on top of the calling form. I even modified one of the standard forms with the sleep statement but got the same results. Do you know if there's a timeout value which controls this behavior?

    Thanks in advance.

  • Daniel Weichsel Profile Picture
    Daniel Weichsel 1,657 on at
    RE: Screens go to background

    I tested the fix in AX2012 R3 with the client running on Windows 8.1.

    To simulate the form loading issue, I just created an new empty form and overrode the run method to:

    public void run()

    {

       sleep(10000);

       super();

    }

    This simulates a slow-loading form that gets kicked to the background when loading.

  • bankk Profile Picture
    bankk 6,603 on at
    RE: Screens go to background

    Daniel, thank you for the response.

    I just wanted to verify this is a possible fix for 2012 R2? We don't have this behavior in our test environments so is it known what may trigger this issue as I would like to replicate the behavior in a non-production environment where I can test this fix? Thanks in advance.

  • Daniel Weichsel Profile Picture
    Daniel Weichsel 1,657 on at
    RE: Screens go to background

    I've tested the solution proposed in http://blogs.msdn.com/b/axsupport/archive/2014/06/21/forms-opening-up-with-focus-in-background.aspx and it does work.  It is also a central change in the AX application code, so easier to deploy, but use care when implementing and testing since it modifies core behavior.

  • bankk Profile Picture
    bankk 6,603 on at
    RE: Screens go to background

    Does anyone know if there's been a fix for this behavior? Our AX installation has been live for over a year, then within the last week we've started experiencing this. I was hoping there's a hotfix or solution, aside from the registry change which I've read in other postings may not work. Thanks very much!

  • RE: Screens go to background

    It worked for our installation fine.  Issue is resolved. Thank you.

  • PA-22040759-0 Profile Picture
    PA-22040759-0 6,194 on at
    RE: Screens go to background

    I agree André.

    The post is rater old (from 2012), so it should have been fixed by now.

    Maybe mgrin35@hotmail.com could tell us a bit about the buildnumbers of the installation!?

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,188 Super User 2024 Season 2 on at
    RE: Screens go to background

    Hi Palle,

    Thanks for sharing. Interesting to try out. The question is if it is manageable within large global organizations. Or it has to be changed for every single person and per machine or the IT department should do something magic... I don't see this as a final solution.

  • Verified answer
    PA-22040759-0 Profile Picture
    PA-22040759-0 6,194 on at
    RE: Screens go to background

    Please have a look at this article, which may be helpfull: blogs.msdn.com/.../dynamics-ax-2012-forms-on-opening-hide-behind-in-the-back.aspx

    /Palle

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,188 Super User 2024 Season 2 on at
    RE: Screens go to background

    Hi,

    Unfortunately this is behaviour that cannot be changed in an installation currently. This should be solved by Microsoft in the kernel.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,188 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,030 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans