Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot load layout #324

Open
go-sakayori opened this issue Jan 15, 2025 · 2 comments
Open

Cannot load layout #324

go-sakayori opened this issue Jan 15, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@go-sakayori
Copy link

go-sakayori commented Jan 15, 2025

Description
Once again thank you for your great work! I am facing a problem with the layout.
I have saved my layout on lichtblick. When I try to import this layout to another PC nothing happens and the latest layout would be kept. The dialog box disappears once I have selected the file.

  • Version:1.8.0
  • Platform: Ubuntu
  • Data source (e.g. bag file, mcap file, rosbridge, ROS 1/2 native): NA

Steps To Reproduce

  1. Export json file by View -> Export layout to file
  2. Bring layout to another PC (or change layout on lichtblick by adding/deleting panels)
  3. View -> Import layout from file -> Select the json file in the GUI.

Expected Behavior
The layout should be changed according to the json file.

@go-sakayori go-sakayori added the bug Something isn't working label Jan 15, 2025
@ctw-joao-luis
Copy link
Contributor

Hey @go-sakayori, so we've tried to reproduce your error and both import and export layout worked fine between on our devices.
I created a custom layout exported it and passed it to a colleague of mine and we had no problems. If you're having problems with exporting a layout after applying changes to it you need to make sure you save those changes before exporting the layout again (as you can see on the image below).

image

If if the issue still persists or it's something else unrelated to what I said above could you add a bit more context and the layout you're having problems with?

Thank you in advance,
Lichtblick Team

@go-sakayori
Copy link
Author

@ctw-joao-luis Thank you for your quick response and support.
I had a misunderstanding with the layouts. I thought by clicking the icon -> View -> Import layout from file would work (call this procedure icon).
image
Now I found that the Layouts tab as you've showed in your image is suitable for applying any layouts.
Export seems to be working perfectly, but importing layouts seems to fail when importing from the procedure icon.
Does the above procedure work in your environment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants