Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Strategy Analyzer window loses focus, Ninjascript Editor takes focus

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

    Strategy Analyzer window loses focus, Ninjascript Editor takes focus

    Hey guys -

    I'm reporting a bug I found while working in Strat Analyzer and attempting to save my Templates. If you have a maximized Strat Analyzer window and a maximized Ninjascript Editor window and change Workspaces, when it returns to the Strat Analyzer, it loses focus on any sub windows.

    Steps to duplicate:
    1. On Workspace 1, open Ninjascript Editor and open a script. Maximize the window.
    2. On Workspace 1, open Strat Analyzer and Maximize the window.
    3. Save Workspace 1. Create new Workspace 2.
    4. On Workspace 2, create a new chart and Maximize the window.
    5. Save Workspace 2.
    6. Switch back to Workspace 1.
    7. Go to Strat Analyzer and attempt to save a Template.
    8. Ninjatrader will switch back to the Ninjascript Editor and the Save As dialog window is hidden.

    #2
    Hello PN720,

    Thank you for the post.

    I have tried these steps quite a few times today but have been unable to reproduce what you have described at this point. I will continue to test these and similar steps to see if I can have this reproduce in some way for me. I do know of what you are describing as I have also seen this happen for me randomly, but I have also not been able to find a way that is reproducible on multiple systems that can be relayed to development.

    If I have further success with these steps on any test system, I will reply back here to let you know and also provide any tracking number for the report.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Thanks for the update, Jesse.

      Like you mentioned, the error just went away by itself and it's working normally at this second.
      I've seen this error so many times that I know it will return. Sometime, while I'll be working in this same configuration and switching between my Chart, Script and Strat Analyzer, it's going to happen again.

      Comment


        #4
        Hi, I think I've found the problem. Here are the steps to duplicate:

        1. On Workspace 1, open Ninjascript Editor and open a script. Maximize the window.
        2. On Workspace 1, open Strat Analyzer and Maximize the window.
        3. Go back to the Ninjascript Editor with your open script.
        4. Ctrl - F to bring up the Find/Replace window and plug in some values and replace all.
        5. Compile your script.
        6. Go back to Strat Analyzer and select your script from the drop down.
        7. Template | Save and OK.
        8. Notice that it switches back to the Ninjascript Editor as soon as you save.

        Comment


          #5
          Hello PN720,

          While I wasn't able to see the NinjaScript editor steal focus to cover the menu, I was able to see it regain focus unexpectedly after saving the template like you mentioned. I think this should be a good first step to reporting this, if development needs further details or can't reproduce this I will reply back here to see if we can find something else as well.

          I look forward to being of further assistance.
          JesseNinjaTrader Customer Service

          Comment


            #6
            Ok, in case they need it, here's a video that shows what's happening when I follow the previous steps. You can see the Ninjascript Editor window keep taking focus when I hit Cancel while I'm still in Strat Analyzer.

            Comment


              #7
              Hello PN720,

              Thank you for your patience.

              This has been resolved for the next release of NinjaTrader 8.

              Please let me know if you have any questions.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Fran888, 02-16-2024, 10:48 AM
              3 responses
              44 views
              0 likes
              Last Post Sam2515
              by Sam2515
               
              Started by martin70, 03-24-2023, 04:58 AM
              15 responses
              114 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by The_Sec, Today, 02:29 PM
              1 response
              7 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by jeronymite, 04-12-2024, 04:26 PM
              2 responses
              31 views
              0 likes
              Last Post NinjaTrader_BrandonH  
              Started by Mindset, 05-06-2023, 09:03 PM
              10 responses
              265 views
              0 likes
              Last Post NinjaTrader_BrandonH  
              Working...
              X