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

label.py opens windows that are overlapping #211

Open
marco-c opened this issue Jun 19, 2018 · 6 comments
Open

label.py opens windows that are overlapping #211

marco-c opened this issue Jun 19, 2018 · 6 comments
Labels

Comments

@marco-c
Copy link
Owner

marco-c commented Jun 19, 2018

There should be at least some distance between them, right now they are overlapping so I can't see the entire image.

@sagarvijaygupta
Copy link
Collaborator

@marco-c Can you please share a screenshot of how windows are opening? I made sure that they don't overlap in

autowebcompat/label.py

Lines 249 to 251 in b127fdf

cv2.moveWindow('firefox', 20, 0)
cv2.moveWindow('chrome', 20 + firefox_window.shape[1], 0)
cv2.moveWindow('firefox_chrome_overlay', 20 + firefox_window.shape[1] + chrome_window.shape[1], 0)

and just touch each other.

@marco-c
Copy link
Owner Author

marco-c commented Jun 19, 2018

overlapping

@sagarvijaygupta
Copy link
Collaborator

This is unexpected. It works fine for me. In your screenshot third window is opening fine. There is a problem with first or the second one. I will try to figure it out.

@marco-c
Copy link
Owner Author

marco-c commented Jun 19, 2018

It might be related to the fact that my screen is HiDPI.

@sagarvijaygupta
Copy link
Collaborator

For a temporary fix you can add some value to 20 in above part of code. I will try to find a solution till then!

@marco-c
Copy link
Owner Author

marco-c commented Dec 7, 2018

Might be fixed by #272.

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