Closed
Bug 121241
Opened 23 years ago
Closed 23 years ago
Misplaced insertion line for outliner DND
Categories
(Core :: DOM: Copy & Paste and Drag & Drop, defect, P3)
Tracking
()
VERIFIED
FIXED
mozilla0.9.9
People
(Reporter: p_ch, Assigned: janv)
References
Details
Attachments
(1 file, 3 obsolete files)
19.11 KB,
patch
|
mikepinkerton
:
review+
|
Details | Diff | Splinter Review |
Linux build 2002 01 21 21
During a drag and drop in the bookmark outliner, the insertion line appears at
two positions between items:
- just below the first item
- just above the second item (item is shifted, as reported)
Only one position should be needed for the insertion line.
Confirming on CVS 2002-01-22, 0700 UTC, Linux.
In addition, if I file the same bookmark several times, using either inserting
position, some magically disappear. But they're in bookmarks.html, but only
until shutdown. After restart some of these invisible dupes are being
eliminated. But that's problably a different bug.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•23 years ago
|
||
*** This bug has been marked as a duplicate of 114606 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Comment 3•23 years ago
|
||
Nilse,
the first comment/bug summary is covered by my change to the dupe, see bug
114606 comment #25 for more. I think filing the same bookmark, it should be not
added to the same folder more than once.. and hence should be gone from the
bookmarks.html.. the only case is if they are in different folders. This is
necessary for the merge bookmarks functionality in a really old bug.
Comment 4•23 years ago
|
||
changing bug to dependency, Pierre has a very good point.
Assignee | ||
Comment 5•23 years ago
|
||
I just noticed that ns4.x supports both drop orientations too.
So I wonder if this is actually bug.
Comment 6•23 years ago
|
||
Jan, you're working on this, aren't you? That's the impression I got, sorry if not.
Assignee: blaker → varga
Status: REOPENED → NEW
Assignee | ||
Comment 8•23 years ago
|
||
Yeah current behaviour sucks!
Here comes a new patch, hope you will like it
Assignee | ||
Comment 9•23 years ago
|
||
this took me so much time, sigh
it should look better now.
Assignee | ||
Comment 10•23 years ago
|
||
need some testing on mac, any volunteers ?
Assignee | ||
Comment 11•23 years ago
|
||
zach, could you test on Mac ?
Assignee | ||
Comment 12•23 years ago
|
||
Attachment #67655 -
Attachment is obsolete: true
Assignee | ||
Comment 13•23 years ago
|
||
Attachment #67656 -
Attachment is obsolete: true
Assignee | ||
Comment 14•23 years ago
|
||
tested on linux and winnt, looks good so far
Comment 15•23 years ago
|
||
sr=hyatt
Comment 16•23 years ago
|
||
two questions:
- you create an atom for dragSession but i don't see it used anywhere besides
putting it into the list. shouldn't it show up in the css somewhere?
- GetFinalImageSize() to get the dimensions of the twisty will be wrong when the
skin is using a theme impl. You have to query the theme impl to get the
width/height of the twisty.
Assignee | ||
Comment 17•23 years ago
|
||
I added dragSession atom for future use.
I'll try to address twisty size in 123605.
Assignee | ||
Updated•23 years ago
|
Priority: -- → P3
Target Milestone: --- → mozilla0.9.9
Comment 18•23 years ago
|
||
i tried on mac and there are still problems.
for example, when the very first item in my bookmarks list is a folder, moving
the mouse into it causes the folder to select, then clear. there is no drop
feedback until you move the mouse out of the container. it doesn't matter if the
folder is open or closed.
Of greater importance, though, is if I hold the mouse in the lower portion of
the open container (the bottom 25% or so), the drop feedback shows that it will
go at the same level as the container, but between it an its children (which is
very wrong), but then dropping it puts it _above_ the container.
i also think that the "move between" feedback is indented too much. for an open
container, it's at the same level as its children which makes me think the drop
will make it a child. It should be moved over more to the left, between the
icons. it should probably also be wider horizontally to be more visible.
Assignee | ||
Comment 19•23 years ago
|
||
ok, trying to fix it
Assignee | ||
Comment 20•23 years ago
|
||
This patch should address all comments pointed by pinkerton.
All except incorrent dropping above a container.
That and other issues should be covered in bug 114606.
Attachment #67657 -
Attachment is obsolete: true
Assignee | ||
Comment 21•23 years ago
|
||
Zach said, it buids and works fine on Mac.
Pink, could you stamp it with an r= ?
Comment 22•23 years ago
|
||
Comment on attachment 68170 [details] [diff] [review]
better fix
r=pink. so much better ;)
Attachment #68170 -
Flags: review+
Assignee | ||
Comment 23•23 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 24•23 years ago
|
||
Great!
Marking verified on linux build 2002 02 08 21
Status: RESOLVED → VERIFIED
Comment 25•23 years ago
|
||
Jan,
this will help you fix the other stuff:
if you are moving a *highlighted* bookmark there is still two insertion bars..
they are extremely close together. and will still get the same effect as in
114606. it doesn't do the shifting.. that is fixed. I see it is below the
highlighted bookmark, and one is above the highlighted line. The one above the
highlighted line will insert above the unhighlighted bookmark above the
highlighted one.
Assignee | ||
Comment 26•23 years ago
|
||
Dennis, that's bookmarks issue, not outliner related in general.
Comment 27•23 years ago
|
||
Thanks for that clarification, as you could probably tell, I didn't understand
the difference between the outliner and its relationship with bookmarks code.
I'm trying though.
Dennis
You need to log in
before you can comment on or make changes to this bug.
Description
•