Problem 2129

Summary: /vis/viewer/interpolate no longer works in Qt
Product: Geant4 Reporter: John.Allison
Component: visualization/OpenGLAssignee: Laurent Garnier <laurent.garnier>
Status: RESOLVED FIXED    
Severity: minor    
Priority: P4    
Version: 10.5   
Hardware: Apple   
OS: Mac OS X   

Description John.Allison 2019-02-11 17:25:24 CET
/vis/viewer/interpolate has stopped working for me with the new Qt. (It still works with OGLSX.) Qt does, however, get the correct last view. So..
1) The user issues /vis/viewer/interpolate
2) This causes Geant4 in a loop to:
 - Set view parameters
 - Call RefreshView
many times, but the views are not shown.
3) Then Geant4 sets the final view parameters and calls RefreshView again, but this time the view is shown.
4) Then control is passed back to the user to type more commands.

So what do you do in (4) that gets the correct view, but in (2), the views are not shown. Do you do something special before handing control back to the user - a special refresh, an update, a buffer swap,…or something?
Comment 1 Laurent Garnier 2019-09-13 11:53:45 CEST
Same problem for me...
Comment 2 Laurent Garnier 2019-09-13 12:07:51 CEST
Since the last change in OpenGL/vis about qt was 2 years ago, I'll guess that the last version of Qt break something.
Comment 3 John.Allison 2020-02-07 14:11:43 CET
Wonders of wonders!!! /vis/viewer/interpolate has started working again with:
macOS Catalina 10.15.1, Qt5.14.0
:-)