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

Visualization bug on MacOS #1268

Closed
dawnos opened this issue Jul 14, 2018 · 6 comments
Closed

Visualization bug on MacOS #1268

dawnos opened this issue Jul 14, 2018 · 6 comments

Comments

@dawnos
Copy link

dawnos commented Jul 14, 2018

I'm trying to compile & run rviz (kinetic) on MacOS (High Sierra), just following http://wiki.ros.org/kinetic/Installation/OSX/Homebrew/Source. After some minor modification, I successfully compile it. But when running, it get some problem:
image

3/4 of the display area is red.

Does anyone meet the same problem? Any solution?

Thank you!

@rlober
Copy link
Contributor

rlober commented Jul 15, 2018

Not sure about the red, but the screen size issue is related to this: #1262

@dawnos
Copy link
Author

dawnos commented Jul 16, 2018

Thanks @rlober . #1262 looks similar. I've tried it as what you say, but it still not work (same as above):

2018-07-15 11 36 07
2018-07-15 11 36 43
2018-07-15 11 37 12

@rlober
Copy link
Contributor

rlober commented Jul 18, 2018

Can you try adding QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling); here ?

@dawnos
Copy link
Author

dawnos commented Jul 22, 2018

Thanks for replying.

I tried as you say. But it does not work.

@meyerj
Copy link
Contributor

meyerj commented Jul 25, 2018

Same problem here. I also tried adding the line proposed in #1268 (comment), without success. But it's not a big issue because the red area disappears and the scale becomes correct as soon as you move the camera or resize the window.

I am currently testing with rviz version 1.12.15 and Ogre 1.9 built from https://github.com/osrf/homebrew-simulation/blob/3ced67c30622d583d8df031dc7b91c5d8f6e7829/ogre1.9.rb on macOS Sierra.

@rhaschke
Copy link
Contributor

Fixed in #1263.

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

4 participants