Closed ysl-design closed 1 year ago
I cannot reproduce that problem. For me, views restore their position as expected. Please try updating to the latest rviz release (1.14.19) and report back (providing your full .rviz config) if the problem persists.
Sorry, the steps described before are a little less, I will re-describe
1.I added 3 Camera plugins and 1 Image plugin to the rviz, then added 2 Views panels,
2.and then selected “Save” when closing rviz to save the added plugins.
3.Start rviz again, the Views panel is indeed there, and then delete the Views Panel through the "Delete Panel"
There are 3 Views here because one is added by rviz by default
4.Add two new Views Panels
5.Again, close rviz, choose “Save”
6.Start rviz again,the problem appears.
I updated the latest version of rviz and the problem still exists.
My config file is as follows
1.zip
I can confirm that all views panels are lost after deleting a single one.
Actually, the behavior is more intricate: If you add additional Views
panels and then remove one of those non-default ones, the removed one will not show up after reloading anymore (as expected), but also the default one will not show up anymore.
In contrast, if you remove the default Views
panel (the last one in all those lists), all other Views
panels will show up correctly.
I don't have time to investigate this very artificial problem in more depth. Just don't add and remove additional Views
panels. It doesn't make sense to have more than one anyway :wink:
The difference in .rviz files is just within the QMainWindowState
.
Describe your issue here and explain how to reproduce it.
I added 3 Camera plugins and 1 Image plugin to the rviz, then added 2 Views panels,
and then selected “Save” when closing rviz to save the added plugins.
Start rviz again, the two Views Panels are expected to be in the original lower left corner, but the actual situation is that they are gone, and the Views check box in the Panels drop-down menu is unchecked. Other Panels have the same phenomenon. I would like to ask what is the reason why Panels cannot save the location.
![image](https://user-images.githubusercontent.com/67178569/192524891-59055e3a-1a48-4277-904f-fa6ea90b6aed.png)
Your environment
echo "$LANG $LC_NUMERIC"
: zh_CN.UTF-8