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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • High
    • Resolution: Fixed
    • 5.34/00
    • None
    • Geometry, GUI
    • None
    • 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. evd_bug.C
          0.9 kB
        2. example.gdml
          0.5 kB

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: