Closed
Bug 264571
Opened 20 years ago
Closed 16 years ago
new items created above currently selected item, instead of below
Categories
(Firefox :: Bookmarks & History, defect)
Tracking
()
RESOLVED
INVALID
Future
People
(Reporter: vlad, Unassigned)
Details
Attachments
(1 file)
3.08 KB,
patch
|
bugs
:
review+
bugs
:
approval-aviary+
|
Details | Diff | Splinter Review |
This is a bug that's been filed before, but there was an attempted fix. The
patch that'll be attached here is the bandaid that will ship with 1.0, that will
bring things back to the previously broken state -- bookmarks will be created
above the currently selected item, instead of below.
The reason for this is that we use the RDF Container InsertElementAt interface
here -- which, when given an index to insert at that's already occcupied, shifts
the old element forward, instead of putting this item after it. This is a
bummer. I tried to do some magic where the index was pre-incremented, but
InsertElementAt bails if you pass it an index that's greater than the number of
items in the container. In either case, we have to know the item's exact
index, so that we can undo. It's a huge pain in the ass.
Reporter | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → After Firefox 1.0
Reporter | ||
Comment 1•20 years ago
|
||
The aforementioned bandaid.
Comment 2•20 years ago
|
||
Comment on attachment 162236 [details] [diff] [review]
264571-bookmarks-bandaid-0.patch
r+a=ben@mozilla.org
Attachment #162236 -
Flags: review+
Attachment #162236 -
Flags: approval-aviary+
Comment 3•20 years ago
|
||
when I paste an item, it also appears above the current selection. would that
also be fixed here, or is that expected behavior?
Comment 4•20 years ago
|
||
requesting blocking aviary 1.0 to get on radar to get the fix checked in.
Flags: blocking-aviary1.0?
Reporter | ||
Comment 5•20 years ago
|
||
My bad; this already went in, forgot to mark it.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Flags: blocking-aviary1.0?
Keywords: fixed-aviary1.0
Resolution: --- → FIXED
Comment 6•20 years ago
|
||
(In reply to comment #5)
> My bad; this already went in, forgot to mark it.
Vlad, when did the fix go in? I still see this issue in 2004102009-0.9+ when I
try to add a new item in the Bookmarks Manager and Sidebar (via context menu or
toolbar icon).
Reporter | ||
Comment 7•20 years ago
|
||
Sorry, i'm not thinking right; this bug still exists, and it was put back due to
the bandaid patch.. the patch doesn't fix the bug; the bug itself won't be fixed
until after 1.0..
Comment 8•20 years ago
|
||
This bug seems to have an aviary branch checkin associated with it. If this has
landed on the aviary branch (as much as it's going to for 1.0) can you please
add the "fixed-aviary1.0" keyword? Thanks.
Reporter | ||
Comment 9•20 years ago
|
||
The patch isn't a fix, it actually introduces the problem described in this bug
(but fixes worse bugs in the process).
Comment 10•19 years ago
|
||
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
Reporter | ||
Updated•19 years ago
|
Assignee: vladimir → nobody
Status: REOPENED → NEW
Comment 11•16 years ago
|
||
design and code for 3.x is quite different, so this is invalid for 3.x, creating above is the default in all our views actually.
Status: NEW → RESOLVED
Closed: 20 years ago → 16 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•