Uploaded image for project: 'GMAT'
  1. GMAT
  2. GMT-6426

Bad OpenGL drawing region when plot is drawn off screen

    Details

      Description

      If a script draws an OrbitView off screen, the OpenGL drawing rectangle is sized incorrectly. The attached screen snap shows an example, created using the following procedure:

      1. Start GMAT
      2. Maximize the window
      3. Load the Ex_HohmannTransfer sample script
      4. Run the mission
      5. Open the script in an editor window
      6. Press the Save,Sync.Run button
      7. Drag the OpenGLPlot window up so you can see the whole thing.

      Pressing the Run button doesn't fix the issue. Closing all and then running seems to fix it, though. As does pressing Save,sync, and then running. This is likely an artifact of the race condition fix for GMT-6383, so we may want to add this description there and close this ticket.

      Note: I'm seeing this in today's build running on a virtual machine, so it may not apply to

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            djcinsb Darrel Conway added a comment -

            The attached script (6426-HohmannTransfer.script) generates the issue. Run GMAT full screen, and run the script. Then drag the OrbitView so it fills the MDI area. For me, there are large blank (solid black) regions where there should be stars, and part of the earth and the trajectory.

            Interestingly, resizing the window cleans it up, so this is probably P2 this close to release.

            Show
            djcinsb Darrel Conway added a comment - The attached script (6426-HohmannTransfer.script) generates the issue. Run GMAT full screen, and run the script. Then drag the OrbitView so it fills the MDI area. For me, there are large blank (solid black) regions where there should be stars, and part of the earth and the trajectory. Interestingly, resizing the window cleans it up, so this is probably P2 this close to release.
            Hide
            djcinsb Darrel Conway added a comment -

            This appears to only occur on the VirtualBox virtual machine. Marking as someday.

            Show
            djcinsb Darrel Conway added a comment - This appears to only occur on the VirtualBox virtual machine. Marking as someday.

              People

              • Assignee:
                djcinsb Darrel Conway
                Reporter:
                djcinsb Darrel Conway
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: