Author Topic: Moving GSX Pro menu on a second screen  (Read 819 times)

frazap

  • Newbie
  • *
  • Posts: 2
Moving GSX Pro menu on a second screen
« on: January 19, 2023, 11:38:20 pm »
Hello,
I want to transfer the GSX Pro menu to a second touch screen to simplify use. The other applications of the taskbar (ATC..) of FS2020 allow to do it because FS2020 or W11 keeps in memory the position of a session on the other but GSX Pro only memorizes the position of the menu on the main screen.
It can be moved to another screen, but temporarily, after the first closing of GSX Pro it does not reopen on the second screen, it returns to the main screen or is run FS2020.
Do you have a solution ?

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51238
    • VIRTUALI Sagl
Re: Moving GSX Pro menu on a second screen
« Reply #1 on: January 21, 2023, 10:34:43 pm »
Nowhere in the GSX code there's anything that stores the menu position, but it's surely saved by the simulator, since when you move it around in the normal screen, the last size and location used IS saved but again, it must be something done by the sim internally, we surely haven't coded any behavior to save or restore the window position and location.

Now, why its docked/undocked status and/or the location on the 2nd screen is not saved, and why you say it is saved with other toolbar windows, we cannot possibly know, because you must understand the whole HTML/JS menu system is completely undocumented and, before dwelling into trying to fix this, it might be best to wait for some documentation to appear. According to Asobo, the SU12 SDK should include a first draft of the HTML/JS documentation, so we'll surely have another look.