Project

General

Profile

Bug #15665

gPad->WaitForPrimitive does not work in v6_08_04c

Added by Rob Kutschke over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
02/24/2017
Due date:
% Done:

0%

Estimated time:
Occurs In:
Scope:
Internal
Experiment:
Mu2e
SSI Package:
Duration:

Description

Mu2e is test driving art v2_06_01. One issue we have found is that ROOT's gPad-WaitForPrimitive() has stopped working.

Phillipe tells me that a similar problem was reported earlier and that the fix is already in the
master branch. He just put the fix into the branch for the next bugfix release of root 6.8
The info about the previously reported bug is below.

It seems quite likely that this bugfix will fix our problem. Please include the release
of root that includes this fix at your earliest convenience.

Rob

Here is the info on the previous bug report and the commit that fixed it:

commit cb08652a63255a9c72a6c649aa1deab8da921562
Author: Olivier Couet <olivier.couet@cern.ch>
Date:   Wed Jan 11 13:20:05 2017 +0100

   - In the following example, `TPad::WaitPrimitive` was not stoping the macro
     execution after each plot :
   ~~~ {.cpp}
   {
      TCanvas c1("c1");
      TFile f("hsimple.root");
      hpx->Draw();        gPad->WaitPrimitive();
      hpxpy->Draw();      gPad->WaitPrimitive();
      hprof->Draw();
   ~~~

This was reported [here](https://root.cern.ch/phpBB3/viewtopic.php?f=3&t=22957).

History

#1 Updated by Kyle Knoepfel over 2 years ago

  • Status changed from New to Feedback

Rob, please see issue #15666#note-2.

#2 Updated by Kyle Knoepfel over 2 years ago

  • Status changed from Feedback to Closed
  • Target version set to 2.06.02


Also available in: Atom PDF