Closed
Bug 240709
Opened 21 years ago
Closed 16 years ago
Dragging a bookmark over the scroll button in the bookmarks menu collapses the menu (Ondragover on autorepeatbutton doesn't work as expected)
Categories
(Firefox :: Bookmarks & History, defect)
Firefox
Bookmarks & History
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: martijn.martijn, Assigned: martijn.martijn)
References
(Depends on 1 open bug)
Details
Attachments
(1 file, 3 obsolete files)
(deleted),
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7b) Gecko/20040323 Firefox/0.8.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7b) Gecko/20040323 Firefox/0.8.0+
If you have a lot of bookmarks in a bookmarksmenu-popup, it doesn't fit in the
window and you get the autorepeatbutton widgets to scroll up or down in the
bookmarksmenu-popup.
Drag and drop of bookmarks in the bookmarksmenu-popup is working fine, but I
can't use the scroll function of the autorepeatbutton when I'm scrolling.
In Internet Explorer I still can.
Reproducible: Always
Steps to Reproduce:
1.Open a large bookmarksmenu-popup which has the autorepeatbuttons
2.Drag a link over the autorepeatbutton
Actual Results:
No scrolling up or down of the bookmarksmenu-popup
Expected Results:
Scrolling up or down of the bookmarksmenu-popup
Assignee | ||
Comment 1•21 years ago
|
||
I think this could be easily fixed, by adding something like this:
<xul:autorepeatbutton class="autorepeatbutton-up" collapsed="true"
oncommand="this.parentNode.scrollByIndex(-1);
event.preventBubble();"
ondragover="this.parentNode.scrollByIndex(-1);
event.preventBubble();"/>
inside: chrome\toolkit\content\global\bindings\scrollbox.xml , line 24
Perhaps this is also a Mozilla bug by the way.
Assignee | ||
Comment 2•20 years ago
|
||
This makes scrolling work when dragging over the autorepeatbutton.
I see also a scrollbox.xml in:
/cvsroot/mozilla/xpfe/global/resources/content/bindings
Should that one also be fixed, I guess?
Assignee | ||
Updated•20 years ago
|
Attachment #152394 -
Flags: review?(p_ch)
Assignee | ||
Comment 3•20 years ago
|
||
Probably the xpfe location is for Mozilla, and the toolkit location is for
firefox, right?
Comment 4•20 years ago
|
||
blake or ben, can you review this patch. This would be a nice cleanup fix to get
for 1.0
Assignee: p_ch → firefox
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 5•20 years ago
|
||
This is more or less the same bug as bug 194319.
I don't really experience the problems mentioned there.
Comment 6•19 years ago
|
||
*** Bug 294288 has been marked as a duplicate of this bug. ***
Updated•19 years ago
|
Assignee: firefox → nobody
OS: Windows 2000 → All
QA Contact: mconnor → bookmarks
Hardware: PC → All
Summary: Ondragover on autorepeatbutton in bookmarksmenu doesn't work as expected → Dragging a bookmark over the scroll button in the bookmarks menu collapses the menu (Ondragover on autorepeatbutton doesn't work as expected)
Version: unspecified → Trunk
Updated•19 years ago
|
Attachment #152394 -
Attachment is obsolete: true
Attachment #152394 -
Flags: review?(p_ch)
Updated•19 years ago
|
Attachment #152400 -
Attachment is obsolete: true
Assignee | ||
Comment 7•19 years ago
|
||
*** Bug 279369 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 8•19 years ago
|
||
Ok, this makes it work.
This patch keeps track of how much time has passed and scrolls only when 20ms
have passed.
The cursor is flickering between nodrag/pointer cursor while dragging over the
autorepeatbutton, which is a bit annoying.
Attachment #194867 -
Flags: review?(mconnor)
Assignee | ||
Comment 9•19 years ago
|
||
Hmm, probably I should mimick these numbers, not?
http://lxr.mozilla.org/seamonkey/source/layout/xul/base/src/nsRepeatService.cpp#52
Assignee: nobody → martijn.martijn
Assignee | ||
Comment 10•19 years ago
|
||
No, actually, current patch mimicks default behavior better.
Assignee | ||
Comment 11•19 years ago
|
||
No, this patch matches the autorepeatbutton scrolling better.
Attachment #194867 -
Attachment is obsolete: true
Attachment #194946 -
Flags: review?(mconnor)
Assignee | ||
Updated•19 years ago
|
Attachment #194867 -
Flags: review?(mconnor)
Updated•18 years ago
|
Attachment #194946 -
Flags: review?(mconnor)
Comment 12•17 years ago
|
||
Will this above patch still work? This bug is two and a half years old, and the bad behavior still exists.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b4pre) Gecko/2008022714 Minefield/3.0b4pre ID:2008022714
Assignee | ||
Comment 13•17 years ago
|
||
ACtually, this is sort of work automatically now that bug 389931 was fixed, I bet.
It works for folder popups in the bookmarks toolbar and for subfolders in the bookmarks menu, but not for the bookmarks menu itself.
Not really sure why it's not working for the main bookmarks menu.
Depends on: 389931
Updated•17 years ago
|
Flags: blocking-firefox3?
Comment 14•17 years ago
|
||
This will not block the final release of Firefox 3.
Flags: blocking-firefox3? → blocking-firefox3-
Comment 15•16 years ago
|
||
The menu doesn't collapse for me. However, it is a somewhat annoying regression from Firefox 2 that scrolling in the bookmarks menu is disabled while dragging something.
Flags: blocking-firefox3.1?
Updated•16 years ago
|
Flags: blocking-firefox3.1?
Comment 17•16 years ago
|
||
(In reply to comment #15)
> The menu doesn't collapse for me. However, it is a somewhat annoying regression
> from Firefox 2 that scrolling in the bookmarks menu is disabled while dragging
> something.
actually that should work in latest trunk though
Assignee | ||
Comment 19•16 years ago
|
||
This is wfm in current trunk build. Probably got fixed by bug 389931.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•