741: Moving window on button click

m*@robos***** (Google Code) (Is this you? Claim this profile.)
Nov. 25, 2008
The comment/review window will jump the size of the button when you press
it and the window does not fit fully in the browser window.

> What steps will reproduce the problem?
1. Open a diff
2. Open a comment window
3. Scroll the browser window so that the top of the comment window is
obscured but the buttons are visible.
4. Press a button.  Try out the Cancel button to close the window... seems
important, no?

> What is the expected output? What do you see instead?
You would expect the window to close, but instead the comment window shifts
down one button height.  I've also noticed the same happen on the Y-axis.

This is annoying, and you have to click the new button position... and if
the window is still obscured, it will do it's little dance again.

What's worse is if you can't fit the full window in the browser.  The
window will scoot down until the buttons are obscured not allowing you to
close the comment window.  This makes reviewboard useless on very low
resolutions less than ~1024x768.

> What operating system are you using? What browser?
WinXP with FF 3.0.4.
chipx86
#1 chipx86
Dup of bug 271.
  • +Duplicate