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

Last four buttons display incorrectly on HiDPI #73

Open
mabelzhang opened this issue Oct 20, 2020 · 0 comments
Open

Last four buttons display incorrectly on HiDPI #73

mabelzhang opened this issue Oct 20, 2020 · 0 comments
Labels

Comments

@mabelzhang
Copy link

Since we are fixing issues... I thought I might as well add another :) Saw it while reviewing PRs.

There is something different about how the last 4 buttons in the GUI are created, that makes them display differently from the other buttons. The size is wrong, and the icons on them simply don't show up.

This is the first thing that comes up upon running rqt_bag, so it's super noticeable.
I assume it has to do with HiDPI displays, since on the Wiki page, the screenshots look normal.

To reproduce, on a HiDPI display:

$ rosrun rqt_bag rqt_bag

Notice how the last 4 buttons are very large and blank:
Screenshot from 2020-10-20 15-39-27

If I do this trick, which is an environment variable that tells Qt to rescale windows and make them appear more normal on a HiDPI display, then the button sizes are right, but they are still blank (icons don't show up):

$ export QT_AUTO_SCREEN_SCALE_FACTOR=1

Screenshot from 2020-10-20 15-41-02

Not sure if this counts as enhancement or bug.

@mjeronimo mjeronimo added the bug label Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants