ros-visualization / rviz

ROS 3D Robot Visualizer
BSD 3-Clause "New" or "Revised" License
831 stars 463 forks source link

The plug-in in the display panel sometimes does not shrink as the display panel compresses. #1758

Closed ysl-design closed 2 years ago

ysl-design commented 2 years ago

Describe your issue here and explain how to reproduce it.

Your environment

When I stretch the displays panel first, then compress it, and then double-click the plug-in component in the displays panel (such as the drop-down list), the picture below appears. It seems that the components don't adapt to size as the displays panel compresses. I do not know whether the problem is caused by the QT or the displays panel. image

rhaschke commented 2 years ago

I cannot reproduce this issue. Could you please provide more detailed instructions and a video as well?

https://user-images.githubusercontent.com/5376030/181205794-3ee24b7f-cc94-46ae-82f4-a135c89b42a6.mp4

ysl-design commented 2 years ago

Sorry, I can't upload the video right now. The procedure is as follows:

step1:

image

step2:

image

step3:

image

result:

image

rhaschke commented 2 years ago

Thanks for the clarification. Now, I can reproduce the issue.

rhaschke commented 2 years ago

Could you please test https://github.com/ros-visualization/rviz/pull/1760?

ysl-design commented 2 years ago

I tried #1760 and the problem did not recur.

rhaschke commented 2 years ago

Closed via #1760.