Closed
Bug 385535
Opened 17 years ago
Closed 17 years ago
[mac] a tree inside a panel duplicates all the elements above it
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: asaf, Assigned: enndeakin)
References
Details
(Keywords: regression)
Attachments
(5 files)
964 bytes,
application/vnd.mozilla.xul+xml
|
Details | |
10.52 KB,
image/png
|
Details | |
298 bytes,
application/vnd.mozilla.xul+xml
|
Details | |
285 bytes,
application/vnd.mozilla.xul+xml
|
Details | |
1.20 KB,
patch
|
mark
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
a tree inside a panel duplicates the element above it. Screenshot+testcase coming.
Flags: blocking1.9?
Reporter | ||
Comment 1•17 years ago
|
||
Reporter | ||
Comment 2•17 years ago
|
||
Reporter | ||
Comment 3•17 years ago
|
||
This is, of course, mac only.
Summary: a tree inside a panel duplicates all the elements above it → [mac] a tree inside a panel duplicates all the elements above it
Assignee | ||
Comment 4•17 years ago
|
||
This is a simplified testcase. Removing the width/height attributes causes it to work.
Flags: blocking1.9? → blocking1.9+
Assignee | ||
Comment 5•17 years ago
|
||
Another test, without using a tree, which shows that the bug appears whenever a child of a popup has a view/widget. Looks to be painting a copy of the popup's view inside the child's view area. The frames are constructed properly and the view tree looks like this: 0x36f63d50 (widget=0x36f63db0[2] z=0 pos={0,0,5520,2040}) {0,0,5520,2040} z=0 vis=1 clientData=0x224b49c < 0x36fb3d80 (widget=0x36fb3e90[4] z=0 pos={0,0,5460,3360}) {3240,960,5460,3360} z=0 vis=1 clientData=0x224d328 < 0x36fbe630 (widget=0x36fbe7b0[3] z=2147483647 pos={120,2160,5220,1080}) {120,2160,5220,1080} z=0 vis=1 clientData=0x224daa8 < > > 0x36f9b2c0 (widget=0x36f9b3c0[1] z=2147483647 pos={0,0,0,0}) {0,0,0,0} z=2147483647 vis=0 clientData=0x224bc1c < > >
Assignee | ||
Comment 7•17 years ago
|
||
The issue is that the wrong widget is being used when painting the child views of a popup. The adjustment done is DispatchEvent should only be done if there isn't a view, otherwise we end of using the popup's widget to draw every child view.
Assignee: jag → enndeakin
Status: NEW → ASSIGNED
Attachment #273968 -
Flags: superreview?(roc)
Attachment #273968 -
Flags: review?(joshmoz)
Attachment #273968 -
Flags: superreview?(roc) → superreview+
Assignee | ||
Updated•17 years ago
|
Attachment #273968 -
Flags: review?(joshmoz) → review?(mark)
Updated•17 years ago
|
Attachment #273968 -
Flags: review?(mark) → review+
Assignee | ||
Updated•17 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•