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

New window appears on wrong screen #3

Closed
cpbotha opened this issue Sep 19, 2013 · 8 comments
Closed

New window appears on wrong screen #3

cpbotha opened this issue Sep 19, 2013 · 8 comments

Comments

@cpbotha
Copy link

cpbotha commented Sep 19, 2013

(BTW, I'm super happy that you made this extension!)

I'm using tab-less with Chrome 29 on Ubuntu 12.04.3 x86_64 with the default unity desktop. My secondary monitor is to the left of my primary. When I create a new tab on my left (secondary) monitor, it appears above the window that spawned it. However, when I do this on my right (primary) monitor, the new window appears all the way on my left monitor.

Do you think this can be fixed?

@iainbeeston
Copy link
Owner

Could you please try something on your computer for me? What happens if you open a link in a new window (rather than a new tab) on your primary monitor? Does it appear on the primary monitor? Or the secondary monitor?

@cpbotha
Copy link
Author

cpbotha commented Sep 20, 2013

With new window from an existing window on the primary (right) monitor, it also appears in the primary (right) monitor, which is what I expect.

With new tab from an existing window on the primary (right) monitor, it appears on the secondary (left) monitor.

Thanks very much for looking into this!

@iainbeeston
Copy link
Owner

Great - thanks for trying that. I'm looking into the Chrome documentation now to try to find a fix. Unfortunately I don't have a second monitor to test on, but hopefully it will be something obvious!

@iainbeeston
Copy link
Owner

Seems strange. According to the documentation, "the new window is offset naturally from the last focused window". Certainly when there is only one screen it all works quite naturally.

Can I confirm that when you tried opening a new window (as above), you only had one chrome window open at the time? And what happens if you make the original window quite small before opening a new one? (Does it still open on a different screen?)

@cpbotha
Copy link
Author

cpbotha commented Sep 20, 2013

I exited chrome completely, and then restarted it. With one fairly small window (less then 1/8th of my primary monitor area) tried new window (same monitor) and new tab (different monitor).

Don't worry about it too much. When I have time, I'll also try to take a look. Thanks again!!

@cpbotha
Copy link
Author

cpbotha commented Sep 20, 2013

It looks like this is a chrome bug / bad behaviour. I should have checked this sooner: When I drag off a tab myself (i.e. without tab-less active), the detached window also appears on the left monitor.

You can close this issue, or maybe just make a note of it in the README?

@iainbeeston
Copy link
Owner

I wondered if that might be the problem. I can't think of a realistic
workaround so I'll close this issue for now. Thanks for helping me to
investigate that one.

@cpbotha
Copy link
Author

cpbotha commented Oct 2, 2013

Just in case someone else runs into this: This seems to be an artifact of using Chrome's own title bar and borders. If you activate "Use system title bar and borders", tabs that you tear off will appear as Windows on the same monitor as the parent window.

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

2 participants