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 browser window is very small in Chrome #4087

Closed
rcubetrac opened this issue Jan 25, 2013 · 12 comments
Closed

New browser window is very small in Chrome #4087

rcubetrac opened this issue Jan 25, 2013 · 12 comments

Comments

@rcubetrac
Copy link

Reported by @alecpl on 25 Jan 2013 09:04 UTC as Trac ticket #1488931

The new browser window opened for message preview or compose page is very small in Chrome/Chromium.

Migrated-From: http://trac.roundcube.net/ticket/1488931

@rcubetrac
Copy link
Author

Comment by @alecpl on 25 Jan 2013 10:32 UTC

http://code.google.com/p/chromium/issues/detail?id=123109 There's no issue when we remove moveTo() call in open_window().

@rcubetrac
Copy link
Author

Comment by @alecpl on 25 Jan 2013 10:50 UTC

Fixed in 01fc82d

@rcubetrac
Copy link
Author

Status changed by @alecpl on 25 Jan 2013 10:50 UTC

new => closed

@rcubetrac
Copy link
Author

Comment by yoni on 28 Apr 2013 05:53 UTC

This problem still exists in Chrome Version 26.0.1410.65. When composing a new window message, the copose window opens on the top left of the browser in a very narrow (read small) popup. It has to be manually resized every time to compose a message. Please see image below:

[[Image(http://i.imgur.com/iKHicZL.png)]]

@rcubetrac
Copy link
Author

Status changed by yoni on 28 Apr 2013 05:53 UTC

closed => reopened

@rcubetrac
Copy link
Author

Milestone changed by @alecpl on 28 Apr 2013 06:44 UTC

0.9-rc => 0.9.1

@rcubetrac
Copy link
Author

Comment by @alecpl on 28 Apr 2013 07:10 UTC

I'm unable to reproduce in Chromium 25. This definitely is a broken Chrome. Please, find open_window() function in app.js file and try with bigger timeout at the end of this function. Let's see if changing 100 to 1000 will help. You can try also commenting out the whole window.setTimeout(....) line. If this is related to buggy moveTo() in Chrome, maybe we should just get rid of it (for Chrome only).

@rcubetrac
Copy link
Author

Comment by yoni on 29 Apr 2013 03:29 UTC

Doubling the timeout at the end of the open_window() function in app.js did it (200).

@rcubetrac
Copy link
Author

Comment by @alecpl on 29 Apr 2013 07:22 UTC

We can increase the value. However, I'm thinking that maybe we don't need this moveTo() thing at all. In my system opened windows are always centered without this line of code (tested with Firefox, Opera and Chrome).

@rcubetrac
Copy link
Author

Comment by @thomascube on 29 Apr 2013 09:46 UTC

I can reproduce the bug on Chrome Mac and both, increasing the timeout as well as skipping the entire moveto command fix it. The window is placed correctly on the screen without the moveto(). I'll do some final testing with IE but I also tend to remove it if it's not really needed by some browser.

@rcubetrac
Copy link
Author

Comment by @thomascube on 29 Apr 2013 09:53 UTC

Removed the moveTo() call in commit [backported in 5bc49fa(b620b1d],).

@rcubetrac
Copy link
Author

Status changed by @thomascube on 29 Apr 2013 09:53 UTC

reopened => closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant