Closed Bug 43367 Opened 24 years ago Closed 24 years ago

double-click on scrollbar acts like double-click on selected item

Categories

(Core :: XUL, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED WONTFIX

People

(Reporter: dbaron, Assigned: hyatt)

Details

DESCRIPTION:  This bug happens in both the main mail window and on FTP sites, so
I'm assuming it's a general tree bug.

If you select an item in a tree (a message in a mailbox or a directory in a FTP
site) by clicking once on it, and then double-click on the scrollbar, it acts
like you double-clicked on the selected item, and opens the message/directory.

STEPS TO REPRODUCE:
 * load ftp://ftp.mozilla.org/pub/mozilla/nightly/
 * click once on a directory
 * double-click in open space on the scrollbar

ACTUAL RESULTS:
 * open the directory selected

EXPECTED RESULTS:
 * scroll down 2 pages (or 2 lines if you hit scrollbar button)

DOES NOT WORK CORRECTLY ON:
* Win98 mozilla 2000-06-21-08-M17
regarding mail, it's also observed in bug 43329
These are bugs in the event handlers of individual trees.  I am closing this 
one.  You should file separate bugs for each afflicted tree to the appropriate 
module owners.

It was incorrect of me to hide clicks on the scrollbar from the DOM.  I fixed 
this when I moved to the new tree.  I'm not doing hiding scrollbar events any 
more, and now people have to patch their tree event handlers to check to see if 
a click actually occurred on a cell.

Clicking on the blank space in a tree would have exhibited the same problem.  
The new tree just makes it more obvious that the event handlers written by the 
XUL authors are flawed already.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WONTFIX
verified wontfix; separate bugs are filed for mailnews (already fixed) and ftp
Other trees should get separate bugs
Status: RESOLVED → VERIFIED
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.