Closed
Bug 77357
Opened 23 years ago
Closed 23 years ago
xul grid loses track of column count.
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
FIXED
mozilla0.9.6
People
(Reporter: pwilson, Assigned: eric)
Details
(Keywords: testcase)
Attachments
(7 files)
1.45 KB,
text/plain
|
Details | |
1.10 KB,
text/plain
|
Details | |
45.15 KB,
patch
|
Details | Diff | Splinter Review | |
23.06 KB,
patch
|
Details | Diff | Splinter Review | |
23.08 KB,
patch
|
Details | Diff | Splinter Review | |
5.17 KB,
patch
|
Details | Diff | Splinter Review | |
7.15 KB,
patch
|
bryner
:
review+
hyatt
:
superreview+
|
Details | Diff | Splinter Review |
If you fill a grid dynamically using javascript the grid can loose track of how
many columns it should have. This happens when no rows are to be displayed. In
this case no row elements are present. If you then rebuild the grid with data
present the grid has collapesed to one column and remains that way.
See attachments for example code.
Also note it is neccessary to have a dummy row in the xul to get multiple
columns to display.
Reporter | ||
Comment 1•23 years ago
|
||
Reporter | ||
Comment 2•23 years ago
|
||
Comment 3•23 years ago
|
||
over to XUL
Assignee: asa → trudelle
Component: Browser-General → XP Toolkit/Widgets: XUL
QA Contact: doronr → jrgm
Updated•23 years ago
|
Summary: xul grid looses track of column count. → xul grid loses track of column count.
Target Milestone: --- → mozilla0.9.3
Comment 5•23 years ago
|
||
Marking NEW.
Comment 6•23 years ago
|
||
Doesn't look like this is getting fixed before the freeze tomorrow night.
Pushing out a milestone. Please correct if I'm mistaken.
Target Milestone: mozilla0.9.3 → mozilla0.9.4
Assignee | ||
Comment 8•23 years ago
|
||
This is fixed by my new grid code. It will land next build.
Status: NEW → ASSIGNED
Target Milestone: mozilla0.9.5 → mozilla0.9.6
Assignee | ||
Comment 9•23 years ago
|
||
Assignee | ||
Comment 10•23 years ago
|
||
I patch has been made to add new grid code. The first part of the patch contains:
1) fix for box not setting parent pointer
2) changed to box to give grid more access
3) ifdefs so none of the new code is on by default to turn on define MOZ_GRID2
The new grid code is on the end of the patch but if you want really take a look
it can be found in the tree at mozilla/layout/xul/base/src/grid
Comment 11•23 years ago
|
||
Change the DEBUG_evaughan to a MOZ_GRID2. Take the grid code, since it doesn't
need r/sr yet.
r=hyatt
Assignee | ||
Comment 12•23 years ago
|
||
Assignee | ||
Comment 13•23 years ago
|
||
Comment 14•23 years ago
|
||
sr=waterson
Assignee | ||
Comment 15•23 years ago
|
||
Assignee | ||
Comment 16•23 years ago
|
||
Comment 17•23 years ago
|
||
Comment on attachment 54145 [details] [diff] [review]
Ok the patch one again.
r=bryner
Attachment #54145 -
Flags: review+
Comment 18•23 years ago
|
||
Comment on attachment 54145 [details] [diff] [review]
Ok the patch one again.
sr=hyatt
Attachment #54145 -
Flags: superreview+
Assignee | ||
Comment 19•23 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•