Closed Bug 341153 Opened 18 years ago Closed 16 years ago

Bookmark dragging highlight painted even if drag is to the same place

Categories

(Camino Graveyard :: Bookmarks, defect)

PowerPC
macOS
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED
Camino2.0

People

(Reporter: hwaara, Assigned: stuart.morgan+bugzilla)

Details

Attachments

(1 file)

Drag a bookmark item a tiny bit to the side, and the blue drag highlight is drawn even if it's the item's starting position.
This is from the bookmarks bar (since this wasn't initially clear to me).  Personally, I'm not sure this is a bug.  The blue drag highlight demarkates where the bookmark button will sit when it "lands."  Even if you're landing in the same position, you're still landing.
I was just going to comment the same. I'm really not sure this is a bug.
I think it would make more sense if the drag would slide back, just like it does if you try to drop it on itself (which effectively this is, since you haven't moved it past any other bookmark).
But it *is* moving past another bookmark -- the mouse has left the original tracking rect for that bookmark button, and that's why it's drawing an insertion highlight.

There's not much that can be done about this without shrinking the tracking rects down and making "dead space" between bookmark items.

cl
Another to do is find all instances of trees/textfields and make them focusable.
Sorry, wrong bug.
Attached patch fixSplinter Review
This has been annoying me recently.
Assignee: nobody → stuart.morgan
Status: NEW → ASSIGNED
Attachment #312776 - Flags: superreview?(mikepinkerton)
Comment on attachment 312776 [details] [diff] [review]
fix

sr=pink

did you try in a container with just 1 bookmark, or a container with just 2? i seem to recall those were good test cases from when i did dnd highlighting in the past.
Attachment #312776 - Flags: superreview?(mikepinkerton) → superreview+
Yep, I tested a bunch of configurations, including 1 and 2 with combinations of folders and tabs.

Landed on trunk.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → Camino2.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: