Closed Bug 302940 Opened 20 years ago Closed 20 years ago

First element in tree is selected when expanding a folder

Categories

(Core :: XUL, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: ShareBird, Assigned: janv)

References

Details

(Keywords: regression)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050731 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050731 Firefox/1.0+ When you open the bookmarks sidebar, initially there is no element with focus. If you click on any "+" beside a folder (except the first one) on the sidebar, the very first element will get focus. This can be very annoying if you have a large list of bookamrks folders. If you scroll your list on sidebar (using the mouse scrollrad) to point to a folder on the bottom and click on "+" the list will jump to the very first element on the list. A similar problem occours also with the History sidebar. The issue started with build 20050726. Reproducible: Always Steps to Reproduce: 1.Create a new profile. 2.Open the bookmarks sidebar. 3.Click on the "+" signal beside the third folder on it ("Firefox and Mozilla Links"). Actual Results: Notice that the first folder ("Bookmarks Toolbar Folder") get focus. Expected Results: The old behaviour was if you click on the "+" beside a folder, the focus stills on the last selected element. If no element was selected (as you open the sidebar at the first time), it should still with no element selected.
I think this needs to go under XP Toolkit/Widgets: Tree. Someone correct me if I'm wrong.
Assignee: nobody → jan
Status: UNCONFIRMED → NEW
Component: Bookmarks → XP Toolkit/Widgets: Trees
Ever confirmed: true
OS: Windows XP → All
Product: Firefox → Core
QA Contact: bookmarks → xptoolkit.trees
Hardware: PC → All
Summary: The very first element on sidebar get erroneously focus. → First element in tree is selected when expanding a folder
Version: unspecified → Trunk
Keywords: regression
This is probably fallout from bug 280153.
Depends on: 280153
This was fixed by the recent check-in for bug 280153.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: xptoolkit.trees → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.