"Mark bug report as a duplicate" appears partly off-screen

Bug #347212 reported by Matthew Paul Thomas
6
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Michael Nelson

Bug Description

1. Open a bug report page in a maximized window.
2. Resize the window to be half the screen width (for example, to put a text editor or terminal windows alongside).
3. Click "Mark as duplicate".

What happens: Only half of the "Mark bug report as a duplicate" dialog appears. The other half requires scrolling to see.

What should happen: As long as the window is large enough to show the entire duplicate-marking form, when you click "Mark as duplicate" the whole form should be shown.

This seems to be because the window size is being measured when the page first loads, instead of at the moment it's actually needed (i.e. when the dialog is about to open).

Tags: lp-bugs ui
Changed in malone:
importance: Undecided → Low
status: New → Triaged
tags: added: ui
Changed in malone:
assignee: nobody → michael.nelson
Revision history for this message
Michael Nelson (michael.nelson) wrote :

Fixed the underlying issue in the lazr.formoverlay class so that if the overlay is created with the configuration option 'centered' then it will recentre itself in the current viewport every time it is shown.

Changed in malone:
status: Triaged → In Progress
Revision history for this message
Björn Tillenius (bjornt) wrote : Bug fixed by a commit

Fixed in devel r8069.

Changed in malone:
status: In Progress → Fix Committed
Revision history for this message
Michael Nelson (michael.nelson) wrote :

Forgot to change the status... this was done as part of 2.2.4.

Changed in malone:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.