Closed rhaschke closed 11 months ago
With Qt 5.15, the Global Options property was vanishing, when a RobotModelDisplay was added with links having no geometry. In this case, the Alpha property of the corresponding link is hidden. However, hiding a property: https://github.com/ros-visualization/rviz/blob/4129ee477ecd47b9c941d90cdf5e3e4f26fad835/src/rviz/properties/property.cpp#L398
Global Options
RobotModelDisplay
Alpha
during the process of reparenting: https://github.com/ros-visualization/rviz/blob/4129ee477ecd47b9c941d90cdf5e3e4f26fad835/src/rviz/properties/property.cpp#L373
caused setRowHidden to be called with an invalid parentIndex: https://github.com/ros-visualization/rviz/blob/4129ee477ecd47b9c941d90cdf5e3e4f26fad835/src/rviz/properties/property_tree_widget.cpp#L125
parentIndex
which then caused hiding of the corresponding top-level property.
With Qt 5.15, the
Global Options
property was vanishing, when aRobotModelDisplay
was added with links having no geometry. In this case, theAlpha
property of the corresponding link is hidden. However, hiding a property: https://github.com/ros-visualization/rviz/blob/4129ee477ecd47b9c941d90cdf5e3e4f26fad835/src/rviz/properties/property.cpp#L398during the process of reparenting: https://github.com/ros-visualization/rviz/blob/4129ee477ecd47b9c941d90cdf5e3e4f26fad835/src/rviz/properties/property.cpp#L373
caused setRowHidden to be called with an invalid
parentIndex
: https://github.com/ros-visualization/rviz/blob/4129ee477ecd47b9c941d90cdf5e3e4f26fad835/src/rviz/properties/property_tree_widget.cpp#L125which then caused hiding of the corresponding top-level property.