Closed Bug 49479 Opened 24 years ago Closed 24 years ago

[pagedown] on last page and [end] in xul tree widget don't select the last item.

Categories

(Core :: XBL, defect, P4)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: jag+mozbugs, Assigned: dr)

Details

(Whiteboard: [nsbeta3+])

Attachments

(1 file)

Go to some valid file:///, click an item and press the end key. It won't select the last item. Same for pagedown when you're on the last page. The code which tries to get the last child (this.getElementsByTagName("treechildren")[0].lastChild) seems to select an item which seemed to have a template rule in it. I'll see if I can get some more information on this. I'll attaching a patch which fixes this by using getRowCount and cleans up some other scrolling issues.
Adding a few keywords.
Cool. I'll try to get this reviewed and into the tree soon. Thanks Peter!
Status: NEW → ASSIGNED
Target Milestone: --- → M18
nsbeta3+, P4 for M18, ->dr, please have hyatt review and apply.
Assignee: hyatt → dr
Status: ASSIGNED → NEW
Priority: P3 → P4
Whiteboard: [nsbeta3+]
yoink!
Status: NEW → ASSIGNED
checked in jag's fix
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
verified fixed, home/end/pgdn/pgup do scroll and then selection the current row. mac/linux/win32 2000090308
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: