Arrow panel clipping when in maximized mode

NEW
Unassigned

Status

()

Toolkit
XUL Widgets
7 years ago
4 years ago

People

(Reporter: George Carstoiu, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [4b10])

Attachments

(2 attachments)

(Reporter)

Description

7 years ago
Created attachment 506077 [details]
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
(Reporter)

Comment 1

7 years ago
Created attachment 506078 [details]
Testcase
Component: General → XUL Widgets
Product: Firefox → Toolkit
QA Contact: general → xul.widgets
(Reporter)

Updated

7 years ago
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

Comment 3

7 years ago
If you want offscreen popups, you would need to skip or change the call to nsMenuPopupFrame::GetConstraintRect (but only if mInContentShell is false).
You need to log in before you can comment on or make changes to this bug.