Problem 2129 - /vis/viewer/interpolate no longer works in Qt
Summary: /vis/viewer/interpolate no longer works in Qt
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: visualization/OpenGL (show other problems)
Version: 10.5
Hardware: Apple Mac OS X
: P4 minor
Assignee: Laurent Garnier
URL:
Depends on:
Blocks:
 
Reported: 2019-02-11 17:25 CET by John.Allison
Modified: 2020-05-13 09:26 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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
:-)