Open Bug 627972 Opened 13 years ago Updated 2 years ago

Arrow panel clipping when in maximized mode

Categories

(Toolkit :: UI Widgets, defect)

defect

Tracking

()

People

(Reporter: george.carstoiu, Unassigned)

Details

(Whiteboard: [4b10])

Attachments

(2 files)

Attached image Screenshot 1
Build identifier: Mozilla/5.0 (Windows NT 6.1; rv:2.0b10pre) Gecko/20110121 Firefox/4.0b10pre

When in maximized mode the arrow panel is not displayed fully. In our case the left part of the arrow panel is clipped. (Run attached testcase)

Steps to reproduce:
 1. Run Testcase
 2. Go to bottom of the page and press Submit

Actual results:
 - the arrow panel is clipped on the left side (see Screenshot 1)

Expected results:
 - the arrow panel is displayed fully
Attached file Testcase
Component: General → XUL Widgets
Product: Firefox → Toolkit
QA Contact: general → xul.widgets
Whiteboard: [4b10]
I think this bug is related to bug 624169: can we really prevent the arrow panel to be offscreen? IMO, we can't respect the requested position and always be in-screen. For a text field, we have some space to move the panel a bit and still have the arrow pointing to the element but for a radio or checkbox button, this seems hard...

And I would prefer to have the panel partially offscreen than misplaced.
OS: Windows 7 → All
Hardware: x86 → All
If you want offscreen popups, you would need to skip or change the call to nsMenuPopupFrame::GetConstraintRect (but only if mInContentShell is false).
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: