Problem 201

Summary: G4cout discards some output after G4cout.width() or setw()
Product: Geant4 Reporter: V.Hejny
Component: globalAssignee: Gabriele Cosmo <Gabriele.Cosmo>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P2    
Version: other   
Hardware: PC   
OS: Linux   

Description V.Hejny 2001-01-23 02:12:31 CET
When moving from G4 2.0 to 3.0 I observed in my code that some output
was no longer on screen. This was all output done after a G4cout.width()
call. (Surprinsingly, the output stops at the second call).

Now I recompiled G4 with G4VERBOSE to find a reason for a endless loop
in tracking. Again, now in the verbose tracking output, only the step
number and the first position coordinate is printed. The rest (including)
eond-of-line is omitted.

P.S.: Maybe you add an entry for Geant4 3.0 in the form for problem reporting.
Comment 1 Gabriele Cosmo 2001-01-23 06:02:59 CET
Could you please provide us with a snippet of code where this problem
can easily be reproduced ?  Are you using any particular UI session ?
Thanks.
Comment 2 Gabriele Cosmo 2001-01-23 10:00:59 CET
As reported below from the user who opened this report, the problem
doesn't look related to G4 kernel code. It is therefore closed.
>
> I looked for this error several days before I send this report, but
> only now, when recompiling G4 2.0 for debug purposes, I found that
> this behaviour appears also in the old version. So there seems to
> be anything different on my machine now and so this is most
> probably not a bug in G4. So far I have no idea what changed ...