Closed Bug 377663 Opened 13 years ago Closed 13 years ago
<titlebar> should move enclosing popup
A <titlebar> element currently moves the enclosing window. When placed in a xul popup, it doesn't work properly due to the widget coordinates being calculated incorrectly. I think that the <titlebar> should move the enclosing popup instead.
Not sure about these widget coordinate calculations. Also, I made the <titlebar> element only work in chrome shells.
Assignee: nobody → enndeakin
Status: NEW → ASSIGNED
+ nsIWidget* widget = GetClosestView()->GetNearestWidget(&pnt); Just call this->GetWindow()? + // if the widget is the root frame, move the window, otherwise move + // the widget So if the titlebar is in a widget that's not a popup (say a scrollbox), then this will move it? That seems unwise.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.