Short Description: Show/Hide SimObj Labels not updating WS item geometries. Bug Number: n/a Release notes (y/n): no For Release Nums: 6.1 Problem: Showing and Hiding SimObj Labels (from a SimObj Display Group Info edit) was not completely updating graphics item geometries. This showed up in two ways: (1) Hiding the SimObj label, which reduces the height of the SimObj region in the Accounting view, wasn't erasing the top of the old region border. (2) Also in relation to showing and hiding the SimObj label, Supply and Transfer graphics end-points were not being updated. The solution included adding explicit update notifications from the four Display Group editor dialogs (for Account, Link, Object and Supply Groups) to the Workspace to update all views. This new explicit method-based notification will work to service also any future Display Group dependent display property edits. NOTE: RiverWare callbacks have NOT been implemented for changes to the [Sim] Display Groups, their Display Info records, or their RootSelections. ------------------------- QtUtils/SimObjGfxItem.cpp ------------------------- Incorrect bounding rectangle value during _transition_ to hiding the SimObj label. The bounding rectangle value had _become_ valid at the conclusion of that "transition" (as a result of a recomputed label text rectangle), but some drawing junk was left over. See changes in method: // pure virtual from QGraphicsItem QRectF SimObjGfxItem::boundingRect() const; ------------------------- Q3GUI/AccountGroupDlg.cpp Q3GUI/LinkGroupDlg.cpp Q3GUI/ObjectGroupDlg.cpp Q3GUI/SupplyGroupDlg.cpp ------------------------- In the supplyChanges() methods in all four display group dialog classes, call QGui::displayGroupChangesApplied (_group). This is ultimately conveyed to the several WorkspaceGfxScene instances to update display-group dependent rendering and geometry, e.g. for showing or hiding the SimObj label. ------------------------- Q3GUI/QGui.cpp Q3GUI/QGui.hpp Q3GUI/Workspace.cpp Q3GUI/Workspace.hpp ------------------------- Process "displayGroupChangesApplied" notifications by updating all views, including end-points of all Supply and Transfer graphics items in the Accounting view. ------------------------- Q3GUI/CanvasRef.cpp ------------------------- void CanvasRef::updateCanvas (bool reconfigureItems /*=false*/) now also calls WorkspaceGfxScene::updateAllSupplyEndPoints() to update the end-points of all Supply and Transfer graphics items. ---