Closed
Bug 18196
Opened 25 years ago
Closed 25 years ago
[Tree]scrolling w/arrow keys unpredictable in tree
Categories
(Core :: XUL, defect, P3)
Core
XUL
Tracking
()
VERIFIED
FIXED
M12
People
(Reporter: cmaximus, Assigned: alecf)
Details
Attachments
(1 file)
20.94 KB,
text/plain
|
Details |
Overview Description: Sorry for the muddy summary but there is no good way to capture the problem. Selecting an item in a tree view and then using the arrow keys to sroll around has strange -and tricky to repro results. Steps to Reproduce: 1) Open the bookmarks window. Expand the tree such that it is longer than the window. 2) Select an item that is not the topmost or bottommost viewable item. 3) Use the arrow down arrow key to try and scroll the other items into the viewable area. Actual Results: What happens most of the time is the selection scrolls to the top of the viewable area instead of scrolling the tree - but only the first time through the list. If you keep scrolling down the view will then scroll. After the selection mistakenly scrolls scrolling up and down (up even the you are at the top of the tree) will do wierd things. Sometimes it will wrap sometimes the topmost item is unselectable. Expected Results: navigating down the tree should scroll the view after the last visible item is reached. I'm not sure what should happen when you hit up arrow at the topmost item. Currently Nova does nothing. Build Date & Platform Bug Found: This bug is XP and repro's on all platforms with the 1999110709 builds.
Reporter | ||
Comment 1•25 years ago
|
||
Reporter | ||
Comment 2•25 years ago
|
||
I forgot to mention this crashed my mac, I've attached the entire MacsBug report
Updated•25 years ago
|
Summary: select-scrolling with keyboard in tree view doesn't work right → [Tree]scrolling w/arrow keys unpredictable in tree
Comment 3•25 years ago
|
||
Marking [Tree], changed summary to (hopefully) better reflect main problem in the description.
Updated•25 years ago
|
Assignee: hyatt → alecf
Target Milestone: M12
Comment 4•25 years ago
|
||
Alec wants all the scrolling bugs since he's fixing them as a group right now.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•25 years ago
|
||
ok, I fixed this for trees with no header row. there were some row index corruption problems....there's something else I'm missing with trees that have column headers (i.e. most trees)
Assignee | ||
Comment 6•25 years ago
|
||
Ahah! I've got the fix. Turns out EnsureRowIsVisible and IsValidRow both expected zero-based values not row indicies.... in the case of trees with a header (i.e. most trees) you got off by one, which just confused things. Awaiting a code review from hyatt.
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•25 years ago
|
||
whoo hoo... finally fixed. It behaves normally now - no more invisible items selected, scrolling works as expected, and so forth.
Reporter | ||
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 8•25 years ago
|
||
this one is VERIFIED fixed, but there'll be more to come shortly...
Reporter | ||
Comment 9•25 years ago
|
||
verified with 1999111608 builds that is.
You need to log in
before you can comment on or make changes to this bug.
Description
•