Problem 1649 - Qt user interface caches UI command tree, doesn't update when commands removed
Summary: Qt user interface caches UI command tree, doesn't update when commands removed
Status: RESOLVED WONTFIX
Alias: None
Product: Geant4
Classification: Unclassified
Component: interfaces/common (show other problems)
Version: 10.0
Hardware: All All
: P5 normal
Assignee: garnier
URL:
Depends on:
Blocks:
 
Reported: 2014-06-30 07:24 CEST by Michael Kelsey
Modified: 2015-01-12 11:41 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Michael Kelsey 2014-06-30 07:24:04 CEST
I have an application which may create new commands based on user macro input (e.g., selecting a particular detector geometry adds commands associated with configuring that geometry).  It is also possible for users to _remove_ command directories via macro.  

For the regular shell-based UI, this command removal works correctly.  However, the Qt-based UI does not reflect removal of commands properly.  Instead the graphical "Help" tree continues to display command directories which have been deleted.  Attempting to use those commands causes an error message (since they no longer exist in the true UImanager).

This problem was present in 9.6 and is still there in both 10.0 and 10.1-beta.
Comment 1 Michael Kelsey 2014-06-30 23:36:50 CEST
Changed category from intercoms to interfaces/common (which is where G4Qt lives).
Comment 2 garnier 2014-10-01 04:50:32 CEST
Not so easy to deal with commands removal.
In non-Qt based UI, the command tree is read each time you type a command or press "tab".
In the "Help" dialog on Qt, the tree is build once it is and there is no feedback when adding/removing command.

Go outside of the help widget and go back to it will solve this.
Comment 3 garnier 2015-01-12 11:41:17 CET
Won't solve this for the moment.