Closed
Bug 48424
Opened 24 years ago
Closed 24 years ago
if a message is selected, Double Clicking on column header opens up a stand alone window
Categories
(SeaMonkey :: MailNews: Message Display, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.8
People
(Reporter: pratikd, Assigned: sspitzer)
References
Details
(Whiteboard: [nsbeta1+])
Attachments
(1 file)
1.10 KB,
patch
|
Details | Diff | Splinter Review |
This happens only with Imap accounts. Using Build Id: 2000-08-09-08 M18 Steps to Reproduce: 1) Open Mail 2) Double Click on a column header Actual: Opens up a stand alone window Expected: Should sort the column twice
Reporter | ||
Comment 2•24 years ago
|
||
I hit this bug even when I clock pause for less than a second and click back again. I found this bug when I was trying to sort by sender to find a message.
Keywords: nsbeta3
Target Milestone: --- → M18
Updated•24 years ago
|
Whiteboard: [nsbeta3+] → [nsbeta3+] HAVE FIX
Comment 4•24 years ago
|
||
fix checked in.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 5•24 years ago
|
||
Using Build Id: 2000-08-21-08 M18 on Mac, Linux and NT4. Verified: Fixed
Status: RESOLVED → VERIFIED
QA Contact: lchiang → pratikd
Comment 6•24 years ago
|
||
My fix for this caused worse regressions so I had to back it out. This bug will now exist again.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
second pass: - per mail triage
Whiteboard: [nsbeta3+] HAVE FIX → [nsbeta3-][cut 8/28]
Comment 9•24 years ago
|
||
i take it that the lack of rtm means that this won't get ifxed for N6. I know that this isn't data loss, but it sure is annoying. any chance? whadddayasay?
Comment 10•24 years ago
|
||
sorry, this won't make it for NS6.
Comment 11•24 years ago
|
||
reassigning to sspitzer
Comment 12•24 years ago
|
||
*** Bug 59536 has been marked as a duplicate of this bug. ***
Comment 13•24 years ago
|
||
marking nsbeta1+ and moving to mozilla0.8
Comment 14•24 years ago
|
||
note: this is a frequently seen problem according to DecisionOne (support)
Assignee | ||
Comment 16•24 years ago
|
||
ok, here's what's going on: in our threadPane.xul, we have an onclick handler for the treecells in the <tree onclick="foo()"> <treehead> <treerow> <treecell onclick="bar()"/> </treerow> </treehead> </tree> when the user clicks on the column, both foo() and bar() get called. first bar(), then foo(). I would expect just bar() to be called. perhaps hyatt can shed some light? I've got a simple fix to tree's onclick handler to bail out if we double click on a treehead's treecell. I'll attach my fix.
Assignee | ||
Comment 17•24 years ago
|
||
updating summary. if a message wasn't selected, this would not open a a stand-alone message window. (we'd get a js error that prevented it.) here comes my fix, seeking feedback from hyatt about the onclick handlers. (and a sr= from bienvenu?)
Summary: Double Clicking on column header opens up a stand alone window → if a message is selected, Double Clicking on column header opens up a stand alone window
Assignee | ||
Comment 18•24 years ago
|
||
Comment 19•24 years ago
|
||
sr=bienvenu, but feedback from Hyatt would be reassuring :-)
Assignee | ||
Comment 20•24 years ago
|
||
fix checked in, but I'll talk to hyatt before marking this fixed.
Comment 21•24 years ago
|
||
The click event will bubble up the tree, so both 'bar()' and 'foo()' should be called unless you were to cancel the bubbling while in function 'bar()'.
Assignee | ||
Comment 22•24 years ago
|
||
do I cancel the bubbling by returning false? I'll try that, and if it works I'll propose a new fix.
Comment 23•24 years ago
|
||
Um. Made me go think (and I still don't know if this is optimal, but ...) You can call 'event.stopPropagation();' to kill the bubbling. (This is what is done to deal with the case where, on linux, you want a middlemouse to load the URL that is on the clipboard, unless that middlemouse is over a scrollbar [which should instead just move the scroll position].) (stopPropagation was known as (apparently) preventBubble in an earlier draft of the DOM L2 Events spec, but either will work. However, consult your nearest hyatt or joki for a blessing that I'm not completely on crack). So this works for me (prints barMouseDown()\n fooMouseDown()\n barClick()\n) <script> function barClick(event) { dump("barClick()\n"); event.stopPropagation(); } function barMouseDown(event) { dump("barMouseDown()\n"); } function fooClick(event) { dump("fooClick()\n"); } function fooMouseDown(event) { dump("fooMouseDown()\n"); } </script> <tree onclick="fooClick(event);" onmousedown="fooMouseDown(event);"> <treehead> <treerow> <treecell onclick="barClick(event);" onmousedown="barMouseDown(event);" value="Click me. Look in console."/> </treerow> </treehead> </tree>
Assignee | ||
Updated•24 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 24•24 years ago
|
||
marking fixed to get it off the radar. I'll open a new bug to make sure we fix the fix to use "event.stopPropagation();"
Comment 25•24 years ago
|
||
Build 2001-01-2204: NT4, Mac 9.04 Build 2001-01-1908: Linux 6.2 Verified Fixed. A stand alone window no longer appears.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•