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

gepetto-gui: "radius" text box being filled with garbage values #175

Open
proyan opened this issue Jun 10, 2021 · 5 comments
Open

gepetto-gui: "radius" text box being filled with garbage values #175

proyan opened this issue Jun 10, 2021 · 5 comments

Comments

@proyan
Copy link

proyan commented Jun 10, 2021

Hi guys,

When setting the radius of a cylinder through the gepetto-gui API, I noticed some weird behaviour. When I press "del" or "backspace" to delete the existing values, the tail end of the value keeps filling up with what I think is garbage. I attach a video to show what I observed

gepetto.mp4

I am currently on the commit 11d71fb in the devel branch.

@proyan proyan changed the title gepetto-gui: "scale" text box being filled with garbage values gepetto-gui: "radius" text box being filled with garbage values Jun 10, 2021
@florent-lamiraux
Copy link
Collaborator

Strange behavior. It seems to me that the bug is more related to Qt than to gepetto-gui since gepetto-gui simply uses textboxes. Does it happen for other widgets ?

@jmirabel
Copy link
Contributor

The garbage comes from the spin box. When you enter a value, the value is converted to float and send to the cylinder node. The cylinder node updates the geometry and update the display to the float value.

Are you able to enter the radius you want ?

@proyan
Copy link
Author

proyan commented Jun 14, 2021

The same value filling occurs for the other boxes as well. I was able to replicate it for height and alpha text boxes.

Are you able to enter the radius you want ?

I finally did it through the python interface. It was a bit tricky to do it through the gui

@jmirabel
Copy link
Contributor

I agree that it does seem very easy.

I'm surprised though because I did use it. I wouldn't have been satisfied with what you experienced so I would have modified the code. You use Qt5 ?

@proyan
Copy link
Author

proyan commented Jun 14, 2021

I'm surprised though because I did use it. I wouldn't have been satisfied with what you experienced so I would have modified the code. You use Qt5 ?

Yes, I'm using Qt5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants