Closed Bug 252133 Opened 20 years ago Closed 20 years ago

in sidebar and bm manager new items should be added below selected item, not above. inconsistent behavior across bookmarks manager, sidebar, and menu.

Categories

(Firefox :: Bookmarks & History, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: asa, Assigned: vlad)

Details

(Keywords: fixed-aviary1.0)

Attachments

(1 file)

There is an inconsistency between the menu new item additions and the bookmarks
manager and sidebar new item additions. In the menus the new item is correctly
added _below_ the selected item (with the exception of menus which is a bug). In
the Bookmarks Manager and the Bookmarks Sidebar, new items are incorrectly added
above the selected item. Tested with the latest aviary branch build on windows XP.
Flags: blocking-aviary1.0?
RDFContainer seems to inconsistently renumber when inserting an element at a
position that's already occupied by another -- if it's the last element, it gets
pushed forward so that the "new" thing comes before the last element. 
Otherwise, it correctly inserts after the thing.

I'm going to check in a patch to always add new items at the end of the parent
container, regardless of the position of the selected item -- though it's not
ideal, it's better than having the behaviour be wildly inconsistent.  I'll take
a look at doing the real fix with RDFContainer.
As seen on 0.9+ branch builds from 0726 items are now added at the end of the
list in the parent container. 
bandaid applied to branch and trunk
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Flags: blocking-aviary1.0?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This is a partial backout of the previous patch, and a small fix.  With this,
everything seems to work like it should -- items are always getting added to
the end.  So, I'd like to get this in.
Flags: blocking-aviary1.0+
Attachment #161810 - Flags: review?(bugs)
Attachment #161810 - Flags: approval-aviary?
Attachment #161810 - Flags: approval-aviary? → approval-aviary+
Status: REOPENED → RESOLVED
Closed: 20 years ago20 years ago
Keywords: fixed-aviary1.0
Resolution: --- → FIXED
probably causing regression bug 264031
sorry for bugspam, long-overdue mass reassign of ancient QA contact bugs, filter on "beltznerLovesGoats" to get rid of this mass change
QA Contact: mconnor → bookmarks
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: