clean up menupopups scrolling onDragOver

NEW
Unassigned

Status

()

Firefox
Bookmarks & History
10 years ago
8 years ago

People

(Reporter: mak, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 years ago
spin off from bug 418671

> > > +          // Autoscroll the popup strip if we drag over the scroll buttons
> > > +          var anonid = aEvent.originalTarget.getAttribute('anonid');
> > > +          var scrollDir = anonid == "scrollbutton-up" ? -1 :
> > > +                          anonid == "scrollbutton-down" ? 1 : 0;
> > > +          if (scrollDir != 0) {
> > > +              this._scrollBox.scrollByIndex(scrollDir);
> > > 
> > > Check with Neil if there's a cleaner way to do so.
> > 
> > Will ask, even if i doubt since there's no native drag support in menus
> 
> It's not the dragging, it's the way you scroll, _scrollBox is not part of the
> menu pseudo API.

Neil told me we could probably add drag events to
nsAutoRepeatBoxFrame::HandleEvent, so i'll fill a followup, the actual code is
not beatiful but it's working until we will do that.
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h".

In Thunderbird 3.0b, you do that as follows:
Tools | Message Filters
Make sure the correct account is selected. Click "New"
Conditions: Body   contains   places-to-b-and-h
Change the action to "Delete Message".
Select "Manually Run" from the dropdown at the top.
Click OK.

Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter.

Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in before you can comment on or make changes to this bug.