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

Translation and rotation doesn't work as expected #345

Closed
Reka-Berci-Hajnovics opened this issue Sep 10, 2020 · 7 comments
Closed

Translation and rotation doesn't work as expected #345

Reka-Berci-Hajnovics opened this issue Sep 10, 2020 · 7 comments
Labels
bug Something isn't working 🏰 citadel Ignition Citadel rendering Involves Ignition Rendering

Comments

@Reka-Berci-Hajnovics
Copy link

In the translation mode the x-axis arrow gets highlighted when I click on the mid of the z-axis arrow. The y-axis and z-axis arrows don't become active after clicking on them.
In the rotation mode a similar thing happens. The roll becomes active after clicking a couple of centimeters below the circle. The other directions do not become active.
I have a fresh installation of ignition gazebo version 3.3.0, foxy, and ubuntu 20.04.
Screenshot from 2020-09-10 12-45-15
Screenshot from 2020-09-10 12-45-32
Screenshot from 2020-09-10 12-46-05
Screenshot from 2020-09-10 12-46-29

@chapulina
Copy link
Contributor

This sounds related to #147. Are you on a high-dpi display, and are you inside a Docker container?

@chapulina chapulina added bug Something isn't working rendering Involves Ignition Rendering 🏰 citadel Ignition Citadel labels Sep 10, 2020
@iche033
Copy link
Contributor

iche033 commented Sep 11, 2020

what graphics driver and version do you have?

@Reka-Berci-Hajnovics
Copy link
Author

It works now! I'm running Ubuntu 20.04 and a high-dpi display. I've enabled the fractional scaling in the Ubuntu Settings-> Display. I haven't change the scale value, but already by enabling it now I can select the arrow to translate and the circle to rotate the objects in Ignition!

@chapulina
Copy link
Contributor

Glad to hear it's solved, I'll close this issue, feel free to reopen if the problem comes back.

It may be a good idea to add a note about this to the troubleshooting documentation.

@iche033
Copy link
Contributor

iche033 commented Sep 11, 2020

thanks for posting the fix.

just curious, what's the scale value that was set?

@Reka-Berci-Hajnovics
Copy link
Author

Reka-Berci-Hajnovics commented Sep 14, 2020

I haven't change the scale value, it was left on 100%. I only enabled fractional scaling.
This morning I've started ign gazebo shapes.sdf and the translation and rotation weren't working, neither on my built-in screen nor on my external screen. I've tried to unplug my external screen and then it was working on my built-in screen.
After plugging in my external screen it still works now. I've tried to stop and relaunch the application and it is still working. I find it a pity that it is not clear what causes this issue. If I'll find something else what might be related to it I'll keep you posted.

@iche033
Copy link
Contributor

iche033 commented Sep 14, 2020

ok got it, thanks for keeping an eye on it.

It could be the way we're querying the scaling factor in ignition. Let me know if you have more info and I'll see if we can fix this programmatically, thanks.

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

No branches or pull requests

3 participants