Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-6445

TRootEmbeddedCanvas and TGeoManage prevent TApplication::Terminate() without user input

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.34/00
    • Fix Version/s: None
    • Component/s: Geometry, GUI
    • Labels:
      None
    • Environment:

      SL6

      Description

      The autoadvance feature of the NOvA event display stopped working when we updated from ROOT 5.34.12 to 5.34.18

      When a TTimer fires, we quit out of the event loop, move to the next record in the input file, and restart the loop. We found that TApplication::Terminate() wasn't taking effect unless the mouse was being moved over the window.

      The attached short program reproduces the issue. An incrementing number should be printed to stdout, once per second. This doesn't work unless the mouse is being moved over the canvas in the window.

      Oddly, both the TRootEmbeddedCanvas and the TGeoManager are necessary to cause this problem. Remove one or the other and the printed number increments fine on its own as intended.

        Attachments

        1. example.gdml
          0.5 kB
        2. evd_bug.C
          0.9 kB

          Activity

            People

            • Assignee:
              pcanal Philippe Canal
              Reporter:
              16bdf91b327521302d81 Christopher Backhouse
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: